--- projects/libstatgrab/configure.in 2010/02/20 18:55:24 1.101 +++ projects/libstatgrab/configure.in 2010/06/09 15:16:41 1.102 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. # # configure.in for libstatgrab -# $Id: configure.in,v 1.101 2010/02/20 18:55:24 tdb Exp $ +# $Id: configure.in,v 1.102 2010/06/09 15:16:41 tdb Exp $ # # Change these to change the package name and version @@ -10,7 +10,7 @@ AC_INIT(libstatgrab, 0.18, bugs@i-scream.org) AM_INIT_AUTOMAKE(libstatgrab, 0.18) # Revision number (automatically updated) -AC_REVISION($Revision: 1.101 $) +AC_REVISION($Revision: 1.102 $) # Might work with older autoconfs... but tested on 2.57 AC_PREREQ(2.57) @@ -134,6 +134,12 @@ linux-gnu*) AM_CONDITIONAL(SETUIDBINS, true) BIN_OWNER="root" BIN_PERM="4755" + ;; +kfreebsd*-gnu*) + AC_DEFINE(ALLBSD, , [Building on a BSD-derived system]) + AC_DEFINE(FREEBSD, , [Building on FreeBSD]) + AC_DEFINE(FREEBSD5, , [Building on FreeBSD 5.x - 9.x]) + LINKFLAGS="-ldevstat" ;; cygwin) AC_DEFINE(CYGWIN, , [Building on Cygwin])