--- projects/libstatgrab/configure.in 2003/10/07 22:07:37 1.33 +++ projects/libstatgrab/configure.in 2003/10/08 17:49:21 1.34 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. # # configure.in for libstatgrab -# $Id: configure.in,v 1.33 2003/10/07 22:07:37 tdb Exp $ +# $Id: configure.in,v 1.34 2003/10/08 17:49:21 tdb Exp $ # # Change these to change the package name and version @@ -10,7 +10,7 @@ AC_INIT(libstatgrab, 0.6, bugs@i-scream.org) AM_INIT_AUTOMAKE(libstatgrab, 0.6) # Revision number (automatically updated) -AC_REVISION($Revision: 1.33 $) +AC_REVISION($Revision: 1.34 $) # Might work with older autoconfs... but tested on 2.57 AC_PREREQ(2.57) @@ -50,7 +50,12 @@ solaris2.*) LINKFLAGS="-lkstat" ;; freebsd4.*) - AC_DEFINE(FREEBSD, , [Building on FreeBSD 4.x]) + AC_DEFINE(FREEBSD, , [Building on FreeBSD]) + LINKFLAGS="-lkvm -ldevstat" + ;; +freebsd5.*) + AC_DEFINE(FREEBSD, , [Building on FreeBSD]) + AC_DEFINE(FREEBSD5, , [Building on FreeBSD 5.x]) LINKFLAGS="-lkvm -ldevstat" ;; linux-gnu)