diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-30 17:24:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-30 17:27:10 +0100 |
commit | 9554853ad7c80e1edf853859dbb65d419e16ea66 (patch) | |
tree | d17c37c1e908fd1b5b6a3e2c28d30f80a9d54a15 /configure.ac | |
parent | 196328c91ee889a0a1cbc39ce2549c7405afbef5 (diff) |
allow building with older libjpeg again
we don't really care what the error number is, so long as its an error of some
kind so just sed JERR_BAD_CROP_SPEC to JERR_CONVERSION_NOTIMPL
Change-Id: Iae41de7b720ce2e60c7092d15983aa1c4ba14c89
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac index 329350a7213e..5e396a2d2f46 100644 --- a/configure.ac +++ b/configure.ac @@ -7553,17 +7553,6 @@ if test "$with_system_jpeg" = "yes"; then [AC_MSG_ERROR(jpeg.h not found. install libjpeg)], []) AC_CHECK_LIB(jpeg, jpeg_resync_to_restart, [ JPEG3RDLIB=-ljpeg ], [AC_MSG_CHECKING(jpeg library not found or fuctional)], []) - AC_MSG_CHECKING([[libjpeg supports JERR_BAD_CROP_SPEC (jpeg-7 API)]]) - AC_COMPILE_IFELSE([ AC_LANG_SOURCE( - [[ -#include <stdio.h> -#include <jerror.h> -int main(int c, char**v) { printf("%d\n", JERR_BAD_CROP_SPEC); return 0; } - ]]) ], - [AC_MSG_RESULT(yes)], - [AC_MSG_RESULT(no) - AC_MSG_ERROR(jpeg library version >= 7 or jpeg-turbo version >= 1.1 required) - ]) libo_MINGW_CHECK_DLL([libjpeg]) else AC_MSG_RESULT([internal]) |