Fix distcheck for optional nouveau stuff.

main
Eric Anholt 2009-02-21 10:01:40 -08:00
parent 2f1cdf79a7
commit 4d5341340f
2 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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)