2 |
|
dnl $Id$ |
3 |
|
|
4 |
|
dnl Change these to change the package name and version |
5 |
< |
AC_INIT(ihost.c) |
5 |
> |
AC_INIT(ihost, 1.0rc1, dev@i-scream.org.uk) |
6 |
|
AM_INIT_AUTOMAKE(ihost, 1.0rc1) |
7 |
|
|
8 |
|
dnl The file we use to pass #define's to the source |
17 |
|
AC_HEADER_STDC |
18 |
|
|
19 |
|
dnl The program needs to know whether it can use getloadavg |
20 |
< |
AC_FUNC_GETLOADAVG |
20 |
> |
AC_CHECK_FUNCS(getloadavg) |
21 |
|
|
22 |
|
dnl Figure out details about the host - we need the OS |
23 |
|
AC_CANONICAL_HOST |
40 |
|
AM_CONDITIONAL(SETGIDKMEM, true) |
41 |
|
;; |
42 |
|
linux-gnu) |
43 |
< |
AC_DEFINE(LINUX, , [Building on GNU/Lunix]) |
43 |
> |
AC_DEFINE(LINUX, , [Building on GNU/Linux]) |
44 |
|
;; |
45 |
|
*) |
46 |
< |
AC_MSG_ERROR([Cannot build on unknown OS: $build_os]) |
46 |
> |
AC_MSG_ERROR([Cannot build on unknown OS: $host_os]) |
47 |
|
;; |
48 |
|
esac |
49 |
|
|