fi
BACKEND_PC_FILES=""
+X11_PC_FILES=""
# Check for X though could be redundant if backend does not need it.
AC_MSG_CHECKING([for X11])
AC_MSG_RESULT([found])
fi
else
- BACKEND_PC_FILES="$BACKEND_PC_FILES x11"
+ X11_PC_FILES="x11"
AC_MSG_RESULT([found])
fi
if test "x$have_xfixes" = "xyes"; then
AC_DEFINE(HAVE_XFIXES, 1, [Define to 1 if we have the XFIXES X extension])
X11_LIBS="$X11_LIBS -lXfixes"
- BACKEND_PC_FILES="$BACKEND_PC_FILES xfixes"
+ X11_PC_FILES="$X11_PC_FILES xfixes"
AC_MSG_RESULT([found])
else
AC_MSG_RESULT([not found])
if test "x$have_xdamage" = "xyes"; then
AC_DEFINE(HAVE_XDAMAGE, 1, [Define to 1 if we have the XDAMAGE X extension])
X11_LIBS="$X11_LIBS -lXdamage"
- BACKEND_PC_FILES="$BACKEND_PC_FILES xdamage"
+ X11_PC_FILES="$X11_PC_FILES xdamage"
AC_MSG_RESULT([found])
else
AC_MSG_RESULT([not found])
if test "x$have_xcomposite" = "xyes"; then
AC_DEFINE(HAVE_XCOMPOSITE, 1, [Define to 1 if we have the XCOMPOSITE X extension])
X11_LIBS="$X11_LIBS -lXcomposite"
- BACKEND_PC_FILES="$BACKEND_PC_FILES xcomposite"
+ X11_PC_FILES="$X11_PC_FILES xcomposite"
AC_MSG_RESULT([found])
else
AC_MSG_RESULT([not found])
if test "x$xinput" = "xyes"; then
AC_DEFINE(USE_XINPUT, 1, Use the XINPUT X extension)
X11_LIBS="$X11_LIBS -lXi"
- BACKEND_PC_FILES="$BACKEND_PC_FILES xi"
+ BACKEND_PC_FILES="$X11_PC_FILES xi"
fi
dnl This is only used to decide whether to build
if test "x$have_gl_pc" = "xyes"; then
BACKEND_PC_FILES="$BACKEND_PC_FILES gl"
fi
+
+ BACKEND_PC_FILES="$BACKEND_PC_FILES $X11_PC_FILES"
;;
eglx)
EGL_LIBS="$GLES_LIBS $TSLIB_LIBS"
EGL_CFLAGS="$TSLIB_CFLAGS"
+
+ BACKEND_PC_FILES="$BACKEND_PC_FILES $X11_PC_FILES"
;;
fruity)