mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-27 09:08:25 +00:00
iwlib configure checks
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@906 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
64b34981f3
commit
d011d6457d
@ -206,7 +206,8 @@ AC_ARG_ENABLE([wlan],
|
||||
#
|
||||
AM_CONDITIONAL(BUILD_WLAN, test x$want_wlan = xyes)
|
||||
if test x$want_wlan = xyes; then
|
||||
LIBS="$LIBS -liw"
|
||||
AC_CHECK_HEADERS([iwlib.h], [], AC_MSG_ERROR([iwlib.h header not found]))
|
||||
AC_CHECK_LIB([iw], [iw_sockets_open], [LIBS="$LIBS -liw"], AC_MSG_ERROR([iw_sockets_open not found]))
|
||||
AC_DEFINE(HAVE_IWLIB, 1, [Define if you want wireless support])
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user