dnl Process this file with autoconf to produce a configure script. 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 AC_CONFIG_AUX_DIR([config]) AC_CONFIG_FILES([Makefile]) AC_DEFINE_UNQUOTED([BUILD_DATE], ["`/bin/date`"], [date wavemon was last configured and built]) CFLAGS="-O2 -Wall" # wavemon is only supported on Linux, warn user about futile compilations AC_CANONICAL_HOST case "$host_os" in *linux*|*LINUX*) ;; *) AC_MSG_ERROR([incompatible OS '$host_os' - required is Linux with wireless extensions.]) esac # Checks for programs. AC_PROG_CC AC_PROG_CPP AC_PROG_INSTALL # Checks for header files. AC_HEADER_STDC AC_HEADER_TIME AC_CHECK_HEADERS([ncurses.h fcntl.h netdb.h sys/ioctl.h sys/time.h unistd.h\ net/if_arp.h netinet/ether.h net/ethernet.h], [], [AC_MSG_ERROR($ac_header not found)]) # linux/if.h needs 'struct sockaddr' # linux/wireless.h in turn depends on linux/if.h AC_CHECK_HEADERS([sys/socket.h linux/if.h linux/wireless.h], [], [AC_MSG_ERROR(can not use $ac_header)], [#if HAVE_SYS_SOCKET_H # include #endif #if HAVE_LINUX_IF_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 AC_CHECK_FUNCS([modf log10 gettimeofday \ memmove memset strdup \ strchr strspn strcspn \ strcasecmp strncasecmp \ strtol \ ether_ntohost], [], [AC_MSG_ERROR(function '$ac_func' not supported)]) # Checks for typedefs, structures, and compiler characteristics. AC_PROG_GCC_TRADITIONAL AC_C_CONST AC_C_INLINE AC_OUTPUT tion value='committer'>committer
AgeCommit message (Expand)AuthorFilesLines
2012-05-06Release 0.7.5-1debian/0.7.5-1Jonathan McCrohan1-0/+7
2012-05-06Imported Upstream version 0.7.5upstream/0.7.5Jonathan McCrohan12-44/+218
2012-03-06Release 0.7.4-1debian/0.7.4-1Jonathan McCrohan4-157/+10
2012-03-05Imported Upstream version 0.7.4upstream/0.7.4Jonathan McCrohan13-134/+244
2012-02-26Update 02-fix-wavemonrc.5-man-errors.patchdebian/0.7.3-1Jonathan McCrohan1-14/+23
2012-02-26Switch to dh-style rules.Jonathan McCrohan3-10/+4
2012-02-21Refresh patchesJonathan McCrohan3-1/+149
2012-02-21Refresh changelogJonathan McCrohan1-4/+5
2012-02-21Add details to patch.Jonathan McCrohan1-0/+5
2012-02-06Promote myself to maintainer.Jonathan McCrohan3-9/+8
2012-02-05Change to dpkg-source 3.0Jonathan McCrohan1-2/+2
2012-02-05Update broken handcrafted patchJonathan McCrohan1-2/+2
2012-02-05Use 3.0 (quilt)Jonathan McCrohan2-2/+2
2012-02-05Use 3.0 (quilt)Jonathan McCrohan3-0/+13
2012-02-05Use quiltJonathan McCrohan3-6/+9
2012-02-05Update changelogJonathan McCrohan1-1/+6
2012-02-05clean up packagingJonathan McCrohan2-2/+1
2012-02-05fix errorsJonathan McCrohan3-10/+3
2012-02-05Undo accidental source changesJonathan McCrohan2-9/+9
2012-02-05Add patch to remove copyingJonathan McCrohan2-1/+9