--- projects/libstatgrab/configure.in 2003/10/12 14:46:06 1.37 +++ projects/libstatgrab/configure.in 2003/10/19 02:03:02 1.38 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. # # configure.in for libstatgrab -# $Id: configure.in,v 1.37 2003/10/12 14:46:06 tdb Exp $ +# $Id: configure.in,v 1.38 2003/10/19 02:03:02 ats Exp $ # # Change these to change the package name and version @@ -10,7 +10,7 @@ AC_INIT(libstatgrab, 0.6.1, bugs@i-scream.org) AM_INIT_AUTOMAKE(libstatgrab, 0.6.1) # Revision number (automatically updated) -AC_REVISION($Revision: 1.37 $) +AC_REVISION($Revision: 1.38 $) # Might work with older autoconfs... but tested on 2.57 AC_PREREQ(2.57) @@ -53,15 +53,23 @@ solaris2.*) LINKFLAGS="-lkstat" ;; freebsd4.*) + AC_DEFINE(ALLBSD, , [Building on a BSD-derived system]) AC_DEFINE(FREEBSD, , [Building on FreeBSD]) AM_CONDITIONAL(SETGIDBINS, true) LINKFLAGS="-lkvm -ldevstat" ;; freebsd5.*) + AC_DEFINE(ALLBSD, , [Building on a BSD-derived system]) AC_DEFINE(FREEBSD, , [Building on FreeBSD]) AC_DEFINE(FREEBSD5, , [Building on FreeBSD 5.x]) AM_CONDITIONAL(SETGIDBINS, true) LINKFLAGS="-lkvm -ldevstat" + ;; +netbsdelf1.*) + AC_DEFINE(ALLBSD, , [Building on a BSD-derived system]) + AC_DEFINE(NETBSD, , [Building on NetBSD]) + AM_CONDITIONAL(SETGIDBINS, true) + LINKFLAGS="-lkvm" ;; linux-gnu) AC_DEFINE(LINUX, , [Building on GNU/Linux])