[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeutils/klaptopdaemon
From:       Adriaan de Groot <adridg () cs ! kun ! nl>
Date:       2003-11-26 13:34:59
[Download RAW message or body]

CVS commit by adridg: 

Deal with FBSD versions with no APM (like amd64, sparc64)


  M +1 -0      configure.in.in   1.4
  M +2 -2      portable.cpp   1.84


--- kdeutils/klaptopdaemon/configure.in.in  #1.3:1.4
@@ -2,2 +2,3 @@
 AC_DEFINE_UNQUOTED(PATH_TPCTL, "$TPCTL", [Defines the executable of tpctl])
 
+AC_CHECK_HEADERS(machine/apm_bios.h)

--- kdeutils/klaptopdaemon/portable.cpp  #1.83:1.84
@@ -1977,5 +1977,5 @@ laptop_portable::get_button(LaptopButton
 }
 
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) && HAVE_MACHINE_APM_BIOS_H
 
 /*


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic