53 |
|
LINKFLAGS="-lkstat" |
54 |
|
;; |
55 |
|
freebsd4.*) |
56 |
+ |
AC_DEFINE(ALLBSD, , [Building on a BSD-derived system]) |
57 |
|
AC_DEFINE(FREEBSD, , [Building on FreeBSD]) |
58 |
|
AM_CONDITIONAL(SETGIDBINS, true) |
59 |
|
LINKFLAGS="-lkvm -ldevstat" |
60 |
|
;; |
61 |
|
freebsd5.*) |
62 |
+ |
AC_DEFINE(ALLBSD, , [Building on a BSD-derived system]) |
63 |
|
AC_DEFINE(FREEBSD, , [Building on FreeBSD]) |
64 |
|
AC_DEFINE(FREEBSD5, , [Building on FreeBSD 5.x]) |
65 |
|
AM_CONDITIONAL(SETGIDBINS, true) |
66 |
|
LINKFLAGS="-lkvm -ldevstat" |
67 |
|
;; |
68 |
+ |
netbsdelf1.*) |
69 |
+ |
AC_DEFINE(ALLBSD, , [Building on a BSD-derived system]) |
70 |
+ |
AC_DEFINE(NETBSD, , [Building on NetBSD]) |
71 |
+ |
AM_CONDITIONAL(SETGIDBINS, true) |
72 |
+ |
LINKFLAGS="-lkvm" |
73 |
+ |
;; |
74 |
|
linux-gnu) |
75 |
|
AC_DEFINE(LINUX, , [Building on GNU/Linux]) |
76 |
|
;; |
151 |
|
fi |
152 |
|
] |
153 |
|
) |
146 |
– |
|
147 |
– |
# User specified pkgconfig dir |
148 |
– |
AC_ARG_WITH([pkgconfig-dir], |
149 |
– |
[ --with-pkgconfig-dir=PATH pkgconfig lib directory (PREFIX/lib/pkgconfig)], |
150 |
– |
[ PKGCONFIG_DIR=$withval ], |
151 |
– |
[ PKGCONFIG_DIR="\$(libdir)/pkgconfig" ] |
152 |
– |
) |
153 |
– |
AC_SUBST(PKGCONFIG_DIR) |
154 |
|
|
155 |
|
# The LIBS and CPPFLAGS that saidar needs |
156 |
|
AC_SUBST(SAIDARLIBS) |