File agg-2.5.dif of Package agg
--- configure.in.orig +++ configure.in @@ -1,11 +1,13 @@ AC_INIT(src/agg_arc.cpp) # give me a source file, any source file... AC_CANONICAL_TARGET +AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS(include/config.h) AM_INIT_AUTOMAKE(agg, 2.5.0) dnl Checks for programs. -AC_PROG_CC +AC_PROG_CC_STDC +AC_USE_SYSTEM_EXTENSIONS AC_PROG_CXX AC_ISC_POSIX AM_C_PROTOTYPES @@ -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 ############################################### --- 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