summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-03-02 15:41:22 +0000
committerPierre Ossman <ossman@cendio.se>2011-03-02 15:41:22 +0000
commit0c9dddcf4b6ecd23630db8d3c3f58c26b1dca07f (patch)
treeaaee2c0b27773a0dfae6dafb1721dbd161b5906f /configure.ac
parent4973cdcf77180481434e719a5f42598b7c9518ff (diff)
downloadtigervnc-0c9dddcf4b6ecd23630db8d3c3f58c26b1dca07f.tar.gz
tigervnc-0c9dddcf4b6ecd23630db8d3c3f58c26b1dca07f.zip
Make sure configure aborts if libjpeg isn't found.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4311 3789f03b-4d11-0410-bbf8-ca57d06f2519
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 defe262f..64c0b7a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -195,7 +195,7 @@ AM_CONDITIONAL([INCLUDED_ZLIB], [ test "x$INCLUDED_ZLIB" = xyes ])
AC_CONFIG_SUBDIRS([zlib])
dnl Check for libjpeg library
-AC_SEARCH_LIBS([jpeg_destroy_compress], [jpeg])
+AC_SEARCH_LIBS([jpeg_destroy_compress], [jpeg], [], [AC_MSG_ERROR(["libjpeg is required to build TigerVNC"])])
AC_CHECK_FUNCS([vsnprintf snprintf strcasecmp strncasecmp])