diff --git a/desmume/configure.ac b/desmume/configure.ac index 3719fd764..244c7663c 100644 --- a/desmume/configure.ac +++ b/desmume/configure.ac @@ -176,6 +176,16 @@ if test "x$HAVE_SDL" = "xyes"; then fi fi +dnl - wifi support +AC_ARG_ENABLE(wifi, + [AC_HELP_STRING(--enable-wifi, enable experimental wifi support)], + [ + AC_CHECK_LIB(pcap, main,[ + AC_DEFINE(EXPERIMENTAL_WIFI) + LIBS="$LIBS -lpcap" + ]) + ]) + dnl Set compiler library flags per target. case $target in *linux* | *bsd*)