24 |
|
|
25 |
|
AC_CANONICAL_HOST |
26 |
|
|
27 |
+ |
AM_CONDITIONAL([SETGIDKMEM], [false]) |
28 |
+ |
|
29 |
|
case $host_os in |
30 |
|
solaris2.*) |
31 |
|
AC_DEFINE(SOLARIS, , [Building on Solaris 2.x]) |
34 |
|
freebsd4.*) |
35 |
|
AC_DEFINE(FREEBSD, , [Building on FreeBSD 4.x]) |
36 |
|
LDFLAGS="$LDFLAGS -lkvm" |
37 |
+ |
AM_CONDITIONAL([SETGIDKMEM], [true]) |
38 |
|
;; |
39 |
|
linux-gnu) |
40 |
|
AC_DEFINE(LINUX, , [Building on GNU/Lunix]) |
52 |
|
AC_DEFINE_UNQUOTED([UDP_MAX_PACKET_SIZE], [$max_udp_size], [Maximum size of UDP packets in kilobytes]) |
53 |
|
|
54 |
|
AC_CONFIG_FILES([Makefile libstatgrab/Makefile libukcprog/Makefile]) |
55 |
< |
AC_CONFIG_FILES([ihostchk.sh], [chmod +x ihostchk.sh]) |
55 |
> |
AC_CONFIG_FILES([ihostchk.sh], [chmod ugo+x ihostchk.sh]) |
56 |
|
|
57 |
|
AC_OUTPUT |