From cb6f0c0dfd2fe456d156a59522f74619b5c95b39 Mon Sep 17 00:00:00 2001 From: riccardom Date: Tue, 20 Apr 2010 18:58:38 +0000 Subject: [PATCH] Warn if --enable-wifi is set but libpcap is not available. --- desmume/configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/configure.ac b/desmume/configure.ac index 4f34e39fc..2bf135fef 100644 --- a/desmume/configure.ac +++ b/desmume/configure.ac @@ -264,8 +264,8 @@ AC_ARG_ENABLE(wifi, [ AC_CHECK_LIB(pcap, main,[ AC_DEFINE(EXPERIMENTAL_WIFI_COMM) - LIBS="$LIBS -lpcap" - ]) + LIBS="$LIBS -lpcap"], + [AC_MSG_WARN([pcap library not found, wifi will not work])]) ]) dnl Set compiler library flags per target.