fix logic

This commit is contained in:
gbeauche 2006-01-27 23:49:01 +00:00
parent d4210ef902
commit 360a9457c6

View File

@ -579,10 +579,11 @@ esac
dnl Is the slirp library supported? dnl Is the slirp library supported?
case "$ac_cv_have_byte_bitfields" in case "$ac_cv_have_byte_bitfields" in
yes|"guessing yes") yes|"guessing yes")
CAN_SLIRP=yes
ETHERSRC=ether_unix.cpp ETHERSRC=ether_unix.cpp
;; ;;
esac esac
if [[ "x$ETHERSRC" = "xether_unix.cpp" ]]; then if [[ -n "$CAN_SLIRP" ]]; then
AC_DEFINE(HAVE_SLIRP, 1, [Define if slirp library is supported]) AC_DEFINE(HAVE_SLIRP, 1, [Define if slirp library is supported])
SLIRP_SRCS="\ SLIRP_SRCS="\
../slirp/bootp.c ../slirp/ip_output.c ../slirp/tcp_input.c \ ../slirp/bootp.c ../slirp/ip_output.c ../slirp/tcp_input.c \