Add $X_EXTRA_LIBS to any X dependend checks or they will fail if some
of the $X_EXTRA_LIBS are required.

2 files changed