From fdf706b6486b9d67b60f737464316c4a5d7d7de6 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 26 Aug 2011 14:25:33 -0600 Subject: Update configure.ac to autoconf 2.68. --- libdimension/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libdimension') diff --git a/libdimension/Makefile.am b/libdimension/Makefile.am index 57ff2d8..2a62a91 100644 --- a/libdimension/Makefile.am +++ b/libdimension/Makefile.am @@ -113,12 +113,14 @@ libdimension_la_SOURCES = $(nobase_include_HEADERS) \ timer.c \ torus.c \ triangle.c +libdimension_la_CFLAGS = $(AM_CFLAGS) libdimension_la_LDFLAGS = -version-info 0:0:0 -no-undefined $(AM_LDFLAGS) -libdimension_la_LIBADD = -lm +libdimension_la_LIBADD = if PNG libdimension_la_SOURCES += png.c -libdimension_la_LIBADD += -lpng +libdimension_la_CFLAGS += $(libpng_CFLAGS) +libdimension_la_LIBADD += $(libpng_LIBS) else libdimension_la_SOURCES += png-stubs.c endif -- cgit v1.2.3