diff --git a/legacy/eet/configure.in b/legacy/eet/configure.in index 505db92893..4ca5784922 100644 --- a/legacy/eet/configure.in +++ b/legacy/eet/configure.in @@ -18,6 +18,9 @@ AC_C_CONST AM_ENABLE_SHARED AM_PROG_LIBTOOL +AC_CHECK_HEADER(zlib.h,, AC_MSG_ERROR("Cannot find jpeglib.h. Make sure your CFLAGS environment variable contains include lines for the location of this file")) +AC_CHECK_HEADER(jpeglib.h,, AC_MSG_ERROR("Cannot find zlib.h. Make sure your CFLAGS environment variable contains include lines for the location of this file")) + dnl These are needed for fmemopen/open_memstream AC_DEFINE(_GNU_SOURCE, , [Enable GNU extensions]) AC_DEFINE(__USE_GNU, , [Enable GNU extensions])