aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2014-05-18 16:02:29 -0700
committerGlenn Morris <[email protected]>2014-05-18 16:02:29 -0700
commit337ee6b38ea35823ab77a03b3841cf888904b336 (patch)
tree5c7e08ea0a4eb99ab33da8ebbf88538cbf95e010 /configure.ac
parent3c8d9107437aca614516e8e6555c02b77ae9313c (diff)
* configure.ac: Do not bother testing for png in non-graphical builds.
This seems to have been lost in the changes from the current emacs-24 branch version.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 09500be993..4cb29c1fbf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3064,7 +3064,7 @@ elif test "${with_png}" != no; then
# mingw32 loads the library dynamically.
if test "$opsys" = mingw32; then
AC_CHECK_HEADER([png.h], [HAVE_PNG=yes])
- else
+ elif test "${HAVE_X11}" = "yes" || test "${HAVE_W32}" = "yes"; then
AC_MSG_CHECKING([for png])
png_cflags=`(libpng-config --cflags) 2>&AS_MESSAGE_LOG_FD` &&
png_libs=`(libpng-config --libs) 2>&AS_MESSAGE_LOG_FD` || {