Check for linux/fb.h when configuring

This commit is contained in:
Rene Kita
2021-09-15 11:38:07 +02:00
parent a0c8de3f3f
commit cb3118b389
2 changed files with 138 additions and 129 deletions

View File

@@ -776,6 +776,7 @@ AC_DEFUN([AC_W3M_IMAGE],
fi
fi
if test x"$fb" = xyes; then
AC_CHECK_HEADER(linux/fb.h, [], [AC_MSG_ERROR([linux/fb.h not found])])
if test x"$have_imlib2" = xyes; then
AC_DEFINE(USE_W3MIMG_FB)
IMGOBJS="$IMGOBJS fb/fb_w3mimg.o fb/fb.o fb/fb_img.o"