AC_CHECK_LIB(lzo,__lzo_init2,,AC_MSG_ERROR([LZO library v1.02 or above not found. Please check your installation or set the environment variable \`LZODIR'.]))
AC_CHECK_HEADERS(lzoconf.h lzo1x.h,,AC_MSG_ERROR([LZO header file not found. Please check your installation or set the environment variable \`LZODIR'.]))