Mesa (master): configure.ac: unduplicate gallium directories

Marek Olšák mareko at kemper.freedesktop.org
Wed Sep 28 23:31:33 UTC 2011


Module: Mesa
Branch: master
Commit: 3c799623785a835c620cec9be28247ca7ab21b2b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c799623785a835c620cec9be28247ca7ab21b2b

Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Sep 27 16:51:05 2011 +0200

configure.ac: unduplicate gallium directories

It may happen when two drivers share one winsys.

---

 configure.ac |    8 ++++----
 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
 




More information about the mesa-commit mailing list