Blame gnome-applets-2.23.3-use-builtin-apm.patch

c67f1bc
diff -up gnome-applets-2.23.3/configure.in.use-builtin-apm gnome-applets-2.23.3/configure.in
c67f1bc
--- gnome-applets-2.23.3/configure.in.use-builtin-apm	2008-07-31 21:52:11.000000000 -0400
c67f1bc
+++ gnome-applets-2.23.3/configure.in	2008-07-31 21:53:29.000000000 -0400
c67f1bc
@@ -414,12 +414,10 @@ if test x$disable_battstat = xno; then
0f6d045
    case "${host}" in
0f6d045
        powerpc-*-linux*)
0f6d045
            NEED_LIBAPM=yes
0f6d045
-           AC_CHECK_LIB(apm,apm_read,[HAVE_LIBAPM=yes],[HAVE_LIBAPM=no])
0f6d045
 	   ;;
0f6d045
        # list of supported OS cores that use libapm
0f6d045
        *-*-linux*)
0f6d045
 	   NEED_LIBAPM=yes
0f6d045
-	   AC_CHECK_LIB(apm,apm_read,[HAVE_LIBAPM=yes],[HAVE_LIBAPM=no])
0f6d045
 	   ;;
0f6d045
        # list of supported OS cores that do not use libapm
c67f1bc
        i386-*-freebsd*|*-*-netbsd*|*-*-openbsd*|*-*kfreebsd*-gnu)