dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.64) AC_INIT([wavemon], [0.7.5], [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 t' type='search' size='10' name='q' value=''/>
AgeCommit message (Collapse)AuthorFilesLines
2004-04-17[lcd4linux @ 2004-04-17 13:03:34 by nicowallmeier]nicowallmeier2-4/+11
minor bugfix git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@419 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-04-12[lcd4linux @ 2004-04-12 11:12:24 by reinelt]reinelt10-302/+287
added plugin_isdn, removed old ISDN client fixed some real bad bugs in the evaluator git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@418 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-04-12[lcd4linux @ 2004-04-12 05:59:24 by reinelt]reinelt1-7/+5
Status update git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@417 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-04-12[lcd4linux @ 2004-04-12 05:14:42 by reinelt]reinelt2-8/+23
another BIG FAT WARNING on the use of raw ports instead of ppdev git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@416 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-04-12[lcd4linux @ 2004-04-12 04:55:59 by reinelt]reinelt3-13/+24
emitted a BIG FAT WARNING if msr.h could not be found (and therefore the gettimeofday() delay loop would be used) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@415 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-04-11[lcd4linux @ 2004-04-11 17:37:09 by reinelt]reinelt2-0/+462
forgot these files at last checkin... sorry! git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@414 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-04-09[lcd4linux @ 2004-04-09 06:23:28 by reinelt]reinelt2-250/+0
removed old exec stuff git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@413 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-04-09[lcd4linux @ 2004-04-09 06:09:54 by reinelt]reinelt6-837/+1087
big configure rework from Xavier git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@412 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-04-08[lcd4linux @ 2004-04-08 11:59:26 by reinelt]reinelt5-9/+362
added plugin_pop3 from Javi git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@411 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-04-08[lcd4linux @ 2004-04-08 10:48:23 by reinelt]reinelt6-56/+272
finished plugin_exec modified thread handling added '%x' format to qprintf (hexadecimal) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@410 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-04-07[lcd4linux @ 2004-04-07 08:29:05 by hejl]hejl3-1/+645
New plugin for wireless info git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@409 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-03-21[lcd4linux @ 2004-03-21 22:05:53 by reinelt]reinelt2-16/+19
MySQL plugin fixes from Javi git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@408 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-03-20[lcd4linux @ 2004-03-20 23:09:01 by reinelt]reinelt2-71/+148
MySQL plugin fixes from Javi git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@407 3ae390bd-cb1e-0410-b409-cd5a39f66f1f