autoconf: Allow commas or spaces to separate DRI drivers
authorDan Nicholson <dbn.lists@gmail.com>
Sun, 6 Jul 2008 21:17:39 +0000 (14:17 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Sun, 6 Jul 2008 21:17:54 +0000 (14:17 -0700)
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.

configure.ac

index 961a60cccfa1ad9c6fc390e0d9b09d10a422f314..a2ebc3b3b6bd272bdb98792c355c0b9626328f38 100644 (file)
@@ -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])