summaryrefslogtreecommitdiffstats
path: root/libdimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-08-26 14:25:33 -0600
committerTavian Barnes <tavianator@gmail.com>2011-08-26 14:25:33 -0600
commitfdf706b6486b9d67b60f737464316c4a5d7d7de6 (patch)
treeb9f4706343f3cba1c22de062857c0cd340b0c9f1 /libdimension
parent62ccbac86c3d53b99c83af049ecbc8e696763b65 (diff)
downloaddimension-fdf706b6486b9d67b60f737464316c4a5d7d7de6.tar.xz
Update configure.ac to autoconf 2.68.
Diffstat (limited to 'libdimension')
-rw-r--r--libdimension/Makefile.am6
1 files changed, 4 insertions, 2 deletions
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