]> source.dussan.org Git - tigervnc.git/commitdiff
Make sure configure aborts if libjpeg isn't found.
authorPierre Ossman <ossman@cendio.se>
Wed, 2 Mar 2011 15:41:22 +0000 (15:41 +0000)
committerPierre Ossman <ossman@cendio.se>
Wed, 2 Mar 2011 15:41:22 +0000 (15:41 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4311 3789f03b-4d11-0410-bbf8-ca57d06f2519

configure.ac

index defe262fe7d49a074104902a0ad56fcc4e7112a7..64c0b7a01a0aedbee89d8c0ebef9380362149229 100644 (file)
@@ -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])