File agg-automake-fix.diff of Package agg
---
Makefile.am | 3 ++-
configure.in | 7 +++----
2 files changed, 5 insertions(+), 5 deletions(-)
Index: Makefile.am
===================================================================
--- Makefile.am.orig
+++ Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = gpc src font_freetype font_win32_tt include examples
+SUBDIRS = src font_freetype font_win32_tt include examples
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libagg.pc
@@ -19,3 +19,4 @@ EXTRA_DIST = Makefile.AmigaOS \
# M4 macro file for inclusion with autoconf
m4datadir = $(datadir)/aclocal
m4data_DATA = libagg.m4
+
Index: configure.in
===================================================================
--- configure.in.orig
+++ configure.in
@@ -1,14 +1,14 @@
-AC_INIT(src/agg_arc.cpp) # give me a source file, any source file...
+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)
-AM_INIT_AUTOMAKE(agg, 2.5.0)
+AM_INIT_AUTOMAKE([foreign])
dnl Checks for programs.
AC_PROG_CC
AC_PROG_CXX
AC_ISC_POSIX
-AM_C_PROTOTYPES
if test "x$U" != "x"; then
AC_MSG_ERROR(Compiler not ANSI compliant)
fi
@@ -144,7 +144,6 @@ AC_SUBST(PREFERED_PLATFORM)
AC_OUTPUT(
Makefile
libagg.pc
- gpc/Makefile
font_freetype/Makefile
font_win32_tt/Makefile
src/Makefile