From 0c9dddcf4b6ecd23630db8d3c3f58c26b1dca07f Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 2 Mar 2011 15:41:22 +0000 Subject: [PATCH] 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- 2.39.5