summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-19 17:56:43 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-19 17:56:43 +0300
commit1b62d5cb6e4709981c158add59c12ca34b5f582f (patch)
tree9ccd566fcced6bac7ebdff363dc525c676144eab /configure.ac
parentaf63b59b56217cdff23fd2f2feb6a38659b115ac (diff)
downloadmanaplus-1b62d5cb6e4709981c158add59c12ca34b5f582f.tar.gz
manaplus-1b62d5cb6e4709981c158add59c12ca34b5f582f.tar.bz2
manaplus-1b62d5cb6e4709981c158add59c12ca34b5f582f.tar.xz
manaplus-1b62d5cb6e4709981c158add59c12ca34b5f582f.zip
Use pkg-config for linking with libpng.
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b6655bd6e..3f8313fb8 100755
--- a/configure.ac
+++ b/configure.ac
@@ -111,6 +111,8 @@ AC_PATH_PROG(CURL_CONFIG, curl-config)
LIBS="$LIBS `$PKG_CONFIG --libs zlib`"
CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags zlib`"
+LIBS="$LIBS `$PKG_CONFIG --libs libpng`"
+CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags libpng`"
# Checks for internationalization support
AM_GNU_GETTEXT([external],[need-ngettext])