Bug 802334 - Port |Bug 799391 - Remove libiw check| to comm-central r=Callek
authorIan Neal <iann_cvs@blueyonder.co.uk>
Mon, 29 Oct 2012 18:24:03 +0000
changeset 11406 d8491065a5085b48b630d0ec2d00826694610236
parent 11405 9687bde9504c7be9a7c90fabbfc7d11117ab6067
child 11407 aab3a6beb9625390fbcd9324378ed2d62d3a6231
push id8527
push useriann_cvs@blueyonder.co.uk
push dateMon, 29 Oct 2012 18:24:19 +0000
treeherdercomm-central@aab3a6beb962 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersCallek
bugs802334, 799391
Bug 802334 - Port |Bug 799391 - Remove libiw check| to comm-central r=Callek
configure.in
--- a/configure.in
+++ b/configure.in
@@ -6278,24 +6278,16 @@ fi
 if test "$NECKO_WIFI" -a \
         "$OS_ARCH" != "Linux" -a \
         "$OS_ARCH" != "Darwin" -a \
         "$OS_ARCH" != "SunOS" -a \
         "$OS_ARCH" != "WINNT"; then
   AC_MSG_ERROR([Necko WiFi scanning not supported on your platform, use --disable-necko-wifi])
 fi
 
-if test -z "$SKIP_LIBRARY_CHECKS" -a "$NECKO_WIFI" -a "$OS_ARCH" = "Linux"
-then
-  AC_CHECK_HEADER([iwlib.h])
-  if test "$ac_cv_header_iwlib_h" != "yes"; then
-    AC_MSG_ERROR([Can't find header iwlib.h for Necko WiFi scanning (might be in package libiw-dev (Ubuntu) or wireless-tools-devel (Fedora) or libiw-devel (openSUSE)); use --disable-necko-wifi to disable])
-  fi
-fi
-
 if test "$NECKO_WIFI"; then
   AC_DEFINE(NECKO_WIFI)
 fi
 AC_SUBST(NECKO_WIFI)
 
 dnl
 dnl Build jsctypes on the platforms we can, unless it's explicitly disabled.
 dnl