On piÄ…tek, 13 lutego 2009 15:18:47 Dan Nicholson wrote: > > Module: Mesa > > Branch: master > > Commit: 3ede3776e2faffdc0dee102dbd37d33491726c36 > > URL: > > http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ede3776e2faffdc0dee102d > >bd37d33491726c36 > > > > Author: Jakob Bornecrantz <jakob at vmware.com> > > Date: Fri Feb 13 00:57:47 2009 +0100 > > > > gallium: Add a bunch of autoconf options > > > > ./configure --help for more info > > > > --- > > > > configure.ac | 78 > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files > > changed, 74 insertions(+), 4 deletions(-) > > > > diff --git a/configure.ac b/configure.ac > > index a9a8d5a..549ca90 100644 > > --- a/configure.ac > > +++ b/configure.ac > > @@ -428,9 +428,6 @@ dri) > > DRIVER_DIRS="dri" > > WINDOW_SYSTEM="dri" > > GALLIUM_WINSYS_DIRS="drm $GALLIUM_WINSYS_DIRS" > > - GALLIUM_WINSYS_DRM_DIRS="intel" > > - GALLIUM_DRIVER_DIRS="$GALLIUM_DRIVER_DIRS i915simple i965simple" > > - GALLIUM_STATE_TRACKERS_DIRS="egl" > > ;; > > osmesa) > > DRIVER_DIRS="osmesa" > > @@ -1078,6 +1075,79 @@ if test "x$enable_gallium" = xyes; then > > SRC_DIRS="$SRC_DIRS gallium gallium/winsys" > > fi > > > > +dnl > > +dnl Gallium state trackers configuration > > +dnl > > +AC_ARG_WITH([state-trackers], > > + [AS_HELP_STRING([--with-state-trackers@<:@=DIRS...@:>@], > > + [comma delimited state_trackers list, e.g. > > + "egl,glx" @<:@default=auto@:>@])], > > + [with_state_trackers="$withval"], > > + [with_state_trackers=yes]) > > + > > +case "$with_state_trackers" in > > +no) > > + GALLIUM_STATE_TRACKERS_DIRS="" > > + ;; > > +yes) > > + # look at what else is built > > + case "$mesa_driver" in > > + dri) > > + GALLIUM_STATE_TRACKERS_DIRS=egl > > + ;; > > + esac > > + ;; > > +*) > > + # verify the requested state tracker exist > > + state_trackers=`IFS=', '; echo $with_state_trackers` > > + for tracker in $state_trackers; do > > + test -d "$srcdir/src/gallium/state_trackers/$tracker" || \ > > + AC_MSG_ERROR([state tracker '$tracker' doesn't exist]) > > + done > > + GALLIUM_STATE_TRACKERS_DIRS="$state_trackers" > > + ;; > > +esac > > + > > +dnl > > +dnl Gallium Intel configuration > > +dnl > > +AC_ARG_ENABLE([gallium-intel], > > + [AS_HELP_STRING([--disable-gallium-intel], > > + [build gallium intel @<:@default=enabled@:>@])], > > + [enable_gallium_intel="$enableval"], > > + [enable_gallium_intel=yes]) > > +if test "x$enable_gallium_intel" = xyes; then > > + GALLIUM_WINSYS_DRM_DIRS="$GALLIUM_WINSYS_DRM_DIRS intel" > > + GALLIUM_DRIVER_DIRS="$GALLIUM_DRIVER_DIRS i915simple i965simple" > > +fi > > + > > +dnl > > +dnl Gallium Radeon configuration > > +dnl > > +AC_ARG_ENABLE([gallium-radeon], > > + [AS_HELP_STRING([--enable-gallium-radeon], > > + [build gallium radeon @<:@default=disabled@:>@])], > > + [enable_gallium_radeon="$enableval"], > > + [enable_gallium_radeon=no]) > > +if test "x$enable_gallium_radeon" = xyes; then > > + GALLIUM_WINSYS_DRM_DIRS="$GALLIUM_WINSYS_DRM_DIRS radeon" > > + GALLIUM_DRIVER_DIRS="$GALLIUM_DRIVER_DIRS r300" > > +fi > > +
Copy and paste error: > > +dnl > > +dnl Gallium Radeon configuration > > +dnl > > +AC_ARG_ENABLE([gallium-nouveau], > > + [AS_HELP_STRING([--enable-gallium-nouveau], > > + [build gallium nouveau @<:@default=disabled@:>@])], > > + [enable_gallium_nouveau="$enableval"], > > + [enable_gallium_nouveau=no]) > > +if test "x$enable_gallium_nouveau" = xyes; then > > + GALLIUM_WINSYS_DRM_DIRS="$GALLIUM_WINSYS_DRM_DIRS nouveau" > > + GALLIUM_DRIVER_DIRS="$GALLIUM_DRIVER_DIRS nv04 nv10 nv20 nv30 nv40 > > nv50" +fi Maciej ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
