6 |
|
# |
7 |
|
|
8 |
|
# Change these to change the package name and version |
9 |
< |
AC_INIT(libstatgrab, 0.3, dev@i-scream.org.uk) |
10 |
< |
AM_INIT_AUTOMAKE(libstatgrab, 0.3) |
9 |
> |
AC_INIT(libstatgrab, 0.3.3, dev@i-scream.org.uk) |
10 |
> |
AM_INIT_AUTOMAKE(libstatgrab, 0.3.3) |
11 |
|
|
12 |
|
# Revision number (automatically updated) |
13 |
|
AC_REVISION($Revision$) |
37 |
|
# We define the name of the OS so the code can act accordingly |
38 |
|
# We also need to add the right LDFLAGS |
39 |
|
case $host_os in |
40 |
+ |
solaris2.[[6-7]]) |
41 |
+ |
AC_CHECK_HEADERS([kstat.h],,[AC_MSG_ERROR([need kstat.h])]) |
42 |
+ |
AC_DEFINE(SOLARIS, , [Building on Solaris 2.x]) |
43 |
+ |
AC_DEFINE(SOL7, , [Building on Solaris 2.7]) |
44 |
+ |
LDFLAGS="$LDFLAGS -lkstat" |
45 |
+ |
;; |
46 |
|
solaris2.*) |
47 |
|
AC_CHECK_HEADERS([kstat.h],,[AC_MSG_ERROR([need kstat.h])]) |
48 |
|
AC_DEFINE(SOLARIS, , [Building on Solaris 2.x]) |