mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-24 16:00:56 +00:00
autoconf: Allow commas or spaces to separate DRI drivers
Explicitly allow the argument to --with-dri-drivers to contain comma-separated or space-separated drivers. A space-separated driver list worked by chance before.
This commit is contained in:
parent
11ac5b2456
commit
e6e4f25aa5
@ -619,7 +619,7 @@ case "$with_dri_drivers" in
|
||||
no|yes) ;;
|
||||
*)
|
||||
# verify the requested driver directories exist
|
||||
dri_drivers=`IFS=,; echo $with_dri_drivers`
|
||||
dri_drivers=`IFS=', '; echo $with_dri_drivers`
|
||||
for driver in $dri_drivers; do
|
||||
test -d "$srcdir/src/mesa/drivers/dri/$driver" || \
|
||||
AC_MSG_ERROR([DRI driver directory '$driver' doesn't exist])
|
||||
|
Loading…
Reference in New Issue
Block a user