diff -aur apcupsd-3.9.9-orig/autoconf/configure.in apcupsd-3.9.9/autoconf/configure.in --- apcupsd-3.9.9-orig/autoconf/configure.in Mon May 13 11:42:09 2002 +++ apcupsd-3.9.9/autoconf/configure.in Tue Sep 10 15:24:27 2002 @@ -1043,6 +1043,9 @@ elif test -f /etc/slackware-version then DISTNAME=slackware +elif test -f /etc/gentoo-version +then + DISTNAME=gentoo elif test -f /etc/engarde-version then DISTNAME=engarde @@ -1192,6 +1195,14 @@ platforms/freebsd/apccontrol.sh \ " ;; +gentoo) + DISTVER=`uname -r` + DFILES="\ + platforms/apccontrol \ + platforms/gentoo/Makefile \ + platforms/gentoo/apcupsd \ + " + ;; hpux) DISTVER=`uname -r` DFILES="\