mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-19 08:58:28 +02:00
2005-10-19 Christopher Aillon <caillon@redhat.com>
* configure.in: Update check for adequate wireless-tools with an AC_TRY_COMPILE for the new symbols we use. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1051 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
b989888977
commit
2e370dc8f3
2 changed files with 17 additions and 4 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2005-10-19 Christopher Aillon <caillon@redhat.com>
|
||||
|
||||
* configure.in: Update check for adequate wireless-tools
|
||||
with an AC_TRY_COMPILE for the new symbols we use.
|
||||
|
||||
2005-10-19 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/NetworkManagerDevice.c
|
||||
|
|
|
|||
16
configure.in
16
configure.in
|
|
@ -73,10 +73,18 @@ AM_CONDITIONAL(TARGET_GENTOO, test x"$with_distro" = xgentoo)
|
|||
AM_CONDITIONAL(TARGET_DEBIAN, test x"$with_distro" = xdebian)
|
||||
AM_CONDITIONAL(TARGET_SLACKWARE, test x"$with_distro" = xslackware)
|
||||
|
||||
AC_CHECK_HEADER(iwlib.h, [],
|
||||
[AC_MSG_ERROR(iwlib.h not found. Install wireless-tools.)], [])
|
||||
AC_CHECK_LIB(iw, iw_scan, [ IWLIB=-liw ],
|
||||
[AC_MSG_ERROR(wireless-tools 27.pre23 not installed or not functional)], [])
|
||||
AC_MSG_CHECKING([for wireless-tools >= 28pre9])
|
||||
AC_TRY_COMPILE([#include <iwlib.h>],
|
||||
[#ifndef IWEVGENIE
|
||||
#error "not found"
|
||||
#endif],
|
||||
[ac_have_iwevgenie=yes],
|
||||
[ac_have_iwevgenie=no])
|
||||
AC_MSG_RESULT($ac_have_iwevgenie)
|
||||
if test "$ac_have_iwevgenie" = no; then
|
||||
AC_MSG_ERROR(wireless-tools >= 28pre9 not installed or not functional)
|
||||
fi
|
||||
IWLIB=-liw
|
||||
AC_SUBST(IWLIB)
|
||||
|
||||
PKG_CHECK_MODULES(DBUS, dbus-glib-1 >= 0.22)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue