From f3410da7f0bd208a5f2d792131b215454e782e93 Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Sun, 5 Feb 2012 19:04:33 +0000 Subject: Imported Upstream version 0.7.3 --- configure.ac | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b66b40b..62666fe 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,7 @@ dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.50) -AC_INIT([wavemon], [0.6.10], [gerrit@erg.abdn.ac.uk], [wavemon-current]) +AC_PREREQ(2.64) +AC_INIT([wavemon], [0.7.3], [gerrit@erg.abdn.ac.uk], [wavemon-current], + [http://eden-feed.erg.abdn.ac.uk/wavemon]) # Variables @@ -41,11 +42,20 @@ AC_CHECK_HEADERS([sys/socket.h linux/if.h linux/wireless.h], [], # include #endif ]) +# require minimum version of the wireless extensions +AC_COMPILE_IFELSE([AC_LANG_PROGRAM( + [#include + #include + #if WIRELESS_EXT < 18 + #error "Need minimum version WIRELESS_EXT = 18" + #endif])],[], + [AC_MSG_FAILURE([linux/wireless.h is too old, need WE >= 18])]) AC_HEADER_STDBOOL # Tests involving libraries AC_CHECK_LIB([m], [pow]) AC_CHECK_LIB([ncurses], [waddstr]) +AC_CHECK_LIB([cap], [cap_get_flag]) # Testing library functions -- cgit v1.2.3