Fix distcheck for optional nouveau stuff.
parent
2f1cdf79a7
commit
4d5341340f
|
@ -123,10 +123,7 @@ if test "x$UDEV" = xyes; then
|
|||
AC_DEFINE(UDEV, 1, [Have UDEV support])
|
||||
fi
|
||||
|
||||
if test "x$NOUVEAU" = xyes; then
|
||||
NOUVEAU_SUBDIR="nouveau"
|
||||
AC_SUBST(NOUVEAU_SUBDIR)
|
||||
fi
|
||||
AM_CONDITIONAL(HAVE_NOUVEAU, [text "x$NOUVEAU" = xyes])
|
||||
|
||||
PKG_CHECK_MODULES(CAIRO, cairo, [HAVE_CAIRO=yes], [HAVE_CAIRO=no])
|
||||
if test "x$HAVE_CAIRO" = xyes; then
|
||||
|
|
|
@ -18,7 +18,11 @@
|
|||
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
SUBDIRS = . intel @NOUVEAU_SUBDIR@
|
||||
if HAVE_NOUVEAU
|
||||
NOUVEAU_SUBDIR = nouveau
|
||||
endif
|
||||
|
||||
SUBDIRS = . intel $(NOUVEAU_SUBDIR)
|
||||
|
||||
libdrm_la_LTLIBRARIES = libdrm.la
|
||||
libdrm_ladir = $(libdir)
|
||||
|
|
Loading…
Reference in New Issue