File agg-2.5.dif of Package agg

---
 Makefile.am  |    1 +
 configure.in |   10 +++++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

Index: Makefile.am
===================================================================
--- Makefile.am.orig
+++ Makefile.am
@@ -1,3 +1,4 @@
+ACLOCAL_AMFLAGS = -I m4
 SUBDIRS = src font_freetype font_win32_tt include examples
 
 pkgconfigdir = $(libdir)/pkgconfig
Index: configure.in
===================================================================
--- configure.in.orig
+++ configure.in
@@ -2,11 +2,13 @@ AC_INIT([agg], [2.5.0])
 AC_CONFIG_SRCDIR([src/agg_arc.cpp]) # give me a source file, any source file...
 AC_CANONICAL_TARGET
 AC_CONFIG_HEADERS(include/config.h)
+AC_CONFIG_MACRO_DIR([m4])
 AM_INIT_AUTOMAKE([foreign])
 
 
 dnl Checks for programs.
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
 AC_PROG_CXX
 AC_ISC_POSIX
 if test "x$U" != "x"; then
@@ -121,7 +123,13 @@ if test "$no_x" = "yes"; then
   AC_MSG_WARN([*** X11 not found! Omitting X11 layer.])
 fi
 AM_CONDITIONAL(ENABLE_X11,[test x$no_x = x -a xno != x$enable_platform -a x$win32_host != xyes])
+if test x"$x_includes" = x; then
+  x_includes="/usr/include"
+fi
 AC_SUBST(x_includes)
+if test x"$x_libraries" = x; then
+  x_libraries="/usr/lib"
+fi
 AC_SUBST(x_libraries)
 dnl ###############################################
 
openSUSE Build Service is sponsored by