* 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.
This commit is contained in:
Glenn Morris 2014-05-18 16:02:29 -07:00
parent 3c8d910743
commit 337ee6b38e
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2014-05-18 Glenn Morris <rgm@gnu.org>
* configure.ac: Do not bother testing for png in non-graphical builds.
2014-05-18 Paul Eggert <eggert@cs.ucla.edu>
Port ctags+etags build to Sun C 5.12.

View file

@ -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` || {