6 |
|
# |
7 |
|
|
8 |
|
# Change these to change the package name and version |
9 |
< |
AC_INIT(libstatgrab, 0.13, bugs@i-scream.org) |
10 |
< |
AM_INIT_AUTOMAKE(libstatgrab, 0.13) |
9 |
> |
AC_INIT(libstatgrab, 0.16, bugs@i-scream.org) |
10 |
> |
AM_INIT_AUTOMAKE(libstatgrab, 0.16) |
11 |
|
AM_MAINTAINER_MODE |
12 |
|
|
13 |
|
# Revision number (automatically updated) |
95 |
|
BIN_PERM="2755" |
96 |
|
LINKFLAGS="-lkvm -ldevstat" |
97 |
|
;; |
98 |
< |
freebsd[[5-7]].*) |
98 |
> |
freebsd[[5-8]].*) |
99 |
|
AC_DEFINE(ALLBSD, , [Building on a BSD-derived system]) |
100 |
|
AC_DEFINE(FREEBSD, , [Building on FreeBSD]) |
101 |
< |
AC_DEFINE(FREEBSD5, , [Building on FreeBSD 5.x - 7.x]) |
101 |
> |
AC_DEFINE(FREEBSD5, , [Building on FreeBSD 5.x - 8.x]) |
102 |
|
LINKFLAGS="-ldevstat" |
103 |
|
;; |
104 |
|
netbsdelf1*) |
105 |
|
AC_DEFINE(ALLBSD, , [Building on a BSD-derived system]) |
106 |
|
AC_DEFINE(NETBSD, , [Building on NetBSD]) |
107 |
|
;; |
108 |
< |
netbsdelf2*) |
108 |
> |
netbsdelf[[2-3]]*) |
109 |
|
AC_DEFINE(ALLBSD, , [Building on a BSD-derived system]) |
110 |
|
AC_DEFINE(NETBSD, , [Building on NetBSD]) |
111 |
|
AC_DEFINE(NETBSD2, , [Building on NetBSD 2.x]) |
122 |
|
BIN_PERM="2755" |
123 |
|
LINKFLAGS="-lkvm -ldevstat" |
124 |
|
;; |
125 |
< |
linux-gnu) |
125 |
> |
linux-gnu*) |
126 |
|
AC_DEFINE(LINUX, , [Building on GNU/Linux]) |
127 |
|
AM_CONDITIONAL(SETUIDBINS, true) |
128 |
|
BIN_OWNER="root" |
150 |
|
SAIDARLIBS="-L${withval}/lib ${SAIDARLIBS}" |
151 |
|
fi |
152 |
|
if test -d "$withval/include"; then |
153 |
< |
SAIDARCPPFLAGS="-I${withval}/include -I${withval}/include/ncurses ${SAIRDARCPPFLAGS}" |
153 |
> |
SAIDARCPPFLAGS="-I${withval}/include ${SAIRDARCPPFLAGS}" |
154 |
|
fi |
155 |
|
] |
156 |
|
) |