summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-09-27 16:51:05 +0200
committerMarek Olšák <maraeo@gmail.com>2011-09-29 01:09:35 +0200
commit3c799623785a835c620cec9be28247ca7ab21b2b (patch)
tree03bbea03547e496fc1346137a1b47500e99a5a22 /configure.ac
parent4b1e7cf5d9f3d4c86ceb394d7c220a49764448f0 (diff)
downloadexternal_mesa3d-3c799623785a835c620cec9be28247ca7ab21b2b.zip
external_mesa3d-3c799623785a835c620cec9be28247ca7ab21b2b.tar.gz
external_mesa3d-3c799623785a835c620cec9be28247ca7ab21b2b.tar.bz2
configure.ac: unduplicate gallium directories
It may happen when two drivers share one winsys.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index b2606bf..56aac7a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1891,10 +1891,10 @@ ln -s autoconf configs/current
])
dnl Sort the dirs alphabetically
-GALLIUM_TARGET_DIRS=`echo $GALLIUM_TARGET_DIRS|tr " " "\n"|sort|tr "\n" " "`
-GALLIUM_WINSYS_DIRS=`echo $GALLIUM_WINSYS_DIRS|tr " " "\n"|sort|tr "\n" " "`
-GALLIUM_DRIVERS_DIRS=`echo $GALLIUM_DRIVERS_DIRS|tr " " "\n"|sort|tr "\n" " "`
-GALLIUM_STATE_TRACKERS_DIRS=`echo $GALLIUM_STATE_TRACKERS_DIRS|tr " " "\n"|sort|tr "\n" " "`
+GALLIUM_TARGET_DIRS=`echo $GALLIUM_TARGET_DIRS|tr " " "\n"|sort -u|tr "\n" " "`
+GALLIUM_WINSYS_DIRS=`echo $GALLIUM_WINSYS_DIRS|tr " " "\n"|sort -u|tr "\n" " "`
+GALLIUM_DRIVERS_DIRS=`echo $GALLIUM_DRIVERS_DIRS|tr " " "\n"|sort -u|tr "\n" " "`
+GALLIUM_STATE_TRACKERS_DIRS=`echo $GALLIUM_STATE_TRACKERS_DIRS|tr " " "\n"|sort -u|tr "\n" " "`
AC_OUTPUT