use @CHECK_CFLAGS@ and @CHECK_LIBS@