mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
configure.ac: Make --{without,with}-gallium-drivers work as expected
This version is mostly Dan's post to the mesa-dev mailing list on 6/22/2011. NOTE: This is a candidate for the 7.10 and 7.11 branches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
This commit is contained in:
parent
2df4b6117b
commit
db311b45be
1 changed files with 7 additions and 0 deletions
|
|
@ -617,6 +617,13 @@ AC_ARG_WITH([gallium-drivers],
|
|||
[with_gallium_drivers="$withval"],
|
||||
[with_gallium_drivers="$GALLIUM_DRIVERS_DEFAULT"])
|
||||
|
||||
# Doing '--without-gallium-drivers' will set this variable to 'no'. Clear it
|
||||
# here so that the script doesn't choke on an unknown driver name later.
|
||||
case "$with_gallium_drivers" in
|
||||
yes) with_gallium_drivers="$GALLIUM_DRIVERS_DEFAULT" ;;
|
||||
no) with_gallium_drivers='' ;;
|
||||
esac
|
||||
|
||||
if test "x$enable_opengl" = xno -a \
|
||||
"x$enable_gles1" = xno -a \
|
||||
"x$enable_gles2" = xno -a \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue