--- projects/libstatgrab/configure.in 2004/08/24 20:45:29 1.76 +++ projects/libstatgrab/configure.in 2004/11/01 18:30:16 1.77 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. # # configure.in for libstatgrab -# $Id: configure.in,v 1.76 2004/08/24 20:45:29 tdb Exp $ +# $Id: configure.in,v 1.77 2004/11/01 18:30:16 tdb Exp $ # # Change these to change the package name and version @@ -10,7 +10,7 @@ AC_INIT(libstatgrab, 0.10.4, bugs@i-scream.org) AM_INIT_AUTOMAKE(libstatgrab, 0.10.4) # Revision number (automatically updated) -AC_REVISION($Revision: 1.76 $) +AC_REVISION($Revision: 1.77 $) # Might work with older autoconfs... but tested on 2.57 AC_PREREQ(2.57) @@ -32,7 +32,7 @@ AC_C_CONST # Checks for library functions AC_FUNC_MALLOC AC_FUNC_REALLOC -AC_CHECK_FUNCS(atoll) +AC_CHECK_FUNCS(atoll seteuid setegid setresuid setresgid) # Disk IO read and write statistics are only present on recent NetBSD. AC_CHECK_MEMBER(struct disk_sysctl.dk_rbytes, @@ -80,6 +80,9 @@ solaris2.*) AC_CHECK_HEADERS([kstat.h],,[AC_MSG_ERROR([need kstat.h])]) AC_DEFINE(SOLARIS, , [Building on Solaris 2.x]) LINKFLAGS="-lkstat -ldevinfo -lsocket -lnsl" + ;; +hpux11.11*) + AC_DEFINE(HPUX, , [Building on HP-UX 11.11]) ;; freebsd4.*) AC_DEFINE(ALLBSD, , [Building on a BSD-derived system])