mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-06 03:38:03 +02:00
Fix distcheck for optional nouveau stuff.
This commit is contained in:
parent
2f1cdf79a7
commit
4d5341340f
2 changed files with 6 additions and 5 deletions
|
|
@ -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…
Add table
Reference in a new issue