File libfm-automake.diff of Package libfm

From: Jan Engelhardt <jengelh@inai.de>
Date: 2012-05-29 12:38:33.039968198 +0200

Add AM_PROG_AR, AM_PROG_CC_C_O, but also kill -Werror because
%-style is sometimes not fixable quickly.

automake: warnings are treated as errors
data/ui/Makefile.am:21: warning: '%'-style pattern rules are a GNU make extension
/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libgiofm.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
src/Makefile.am:312:   while processing Libtool library 'libgiofm.la'
src/Makefile.am:21: warning: compiling 'glib-compat.c' with per-target flags requires 'AM_PROG_CC_C_O' in 'configure.ac'

---
 configure.ac |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Index: libfm-0.1.17/configure.ac
===================================================================
--- libfm-0.1.17.orig/configure.ac
+++ libfm-0.1.17/configure.ac
@@ -3,13 +3,15 @@
 
 AC_PREREQ([2.63])
 AC_INIT([libfm], [0.1.17], [http://pcmanfm.sorceforge.net/])
-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+AM_INIT_AUTOMAKE([-Wall foreign])
 AC_CONFIG_MACRO_DIR(m4)
 AC_CONFIG_HEADERS([config.h])
 
 # Checks for programs.
 AC_PROG_CC
-AM_PROG_LIBTOOL
+AM_PROG_CC_C_O
+AM_PROG_AR
+LT_INIT
 
 # Checks for libraries.