50 |
|
LINKFLAGS="-lkstat" |
51 |
|
;; |
52 |
|
freebsd4.*) |
53 |
< |
AC_DEFINE(FREEBSD, , [Building on FreeBSD 4.x]) |
53 |
> |
AC_DEFINE(FREEBSD, , [Building on FreeBSD]) |
54 |
|
LINKFLAGS="-lkvm -ldevstat" |
55 |
|
;; |
56 |
+ |
freebsd5.*) |
57 |
+ |
AC_DEFINE(FREEBSD, , [Building on FreeBSD]) |
58 |
+ |
AC_DEFINE(FREEBSD5, , [Building on FreeBSD 5.x]) |
59 |
+ |
LINKFLAGS="-lkvm -ldevstat" |
60 |
+ |
;; |
61 |
|
linux-gnu) |
62 |
|
AC_DEFINE(LINUX, , [Building on GNU/Linux]) |
63 |
|
;; |
127 |
|
fi |
128 |
|
] |
129 |
|
) |
130 |
+ |
|
131 |
+ |
# User specified pkgconfig dir |
132 |
+ |
AC_ARG_WITH([pkgconfig-dir], |
133 |
+ |
[ --with-pkgconfig-dir=PATH pkgconfig lib directory (PREFIX/lib/pkgconfig)], |
134 |
+ |
[ PKGCONFIG_DIR=$withval ], |
135 |
+ |
[ PKGCONFIG_DIR="\$(libdir)/pkgconfig" ] |
136 |
+ |
) |
137 |
+ |
AC_SUBST(PKGCONFIG_DIR) |
138 |
|
|
139 |
|
# The LIBS and CPPFLAGS that saidar needs |
140 |
|
AC_SUBST(SAIDARLIBS) |