summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915/Makefile
diff options
context:
space:
mode:
authorTom Fogal <tfogal@alumni.unh.edu>2009-10-13 10:55:34 -0700
committerBrian Paul <brianp@vmware.com>2009-10-13 16:22:09 -0600
commit115edf24a9128b79dfa5f30482c990e2cb898357 (patch)
tree9194eaed268aa4c973c3ac1ae00928fbf266462c /src/mesa/drivers/dri/i915/Makefile
parent9282edfaa0ad24be16f5e395f346ca477050cdf6 (diff)
Fix build when PROGRAM_DIRS is empty.
SUBDIRS just takes PROGRAM_DIRS value. If PROGRAM_DIRS gets set to the empty string (as can happen when building only OSMesa), a 'for' loop will lack anything to iterate over, causing a parse error. This fixes the issue by making sure SUBDIRS is the null string when PROGRAM_DIRS is, and wrapping the for loops in if's, causing them only to execute if there are directories to iterate over.
Diffstat (limited to 'src/mesa/drivers/dri/i915/Makefile')
0 files changed, 0 insertions, 0 deletions