summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-05-29 16:03:05 -0700
committerKenneth Graunke <[email protected]>2012-05-30 13:39:30 -0700
commit2224fb6047dd96cbc11d7f2093319e5eb49c0b6b (patch)
tree2211e99d4ca3017b2bc2fccf357b470f1f1f89f4 /configs
parentff3eef1affd0d3b56d4ce689947947be97c5d0f6 (diff)
automake: Check for 'indent' and fall back to 'cat' if not found.
The glapi generator code uses indent to produce more readable code. However, we don't want to make GNU indent a hard build dependency; check for it in configure.ac and fall back to 'cat' if it's not available. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50484 Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]> Acked-by: Ben Widawsky <[email protected]>
Diffstat (limited to 'configs')
-rw-r--r--configs/autoconf.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/autoconf.in b/configs/autoconf.in
index 38f49a295c0..2a111c7a080 100644
--- a/configs/autoconf.in
+++ b/configs/autoconf.in
@@ -64,6 +64,10 @@ NM = @NM@
# Perl
PERL = @PERL@
+# Indent (used for generating dispatch tables)
+INDENT = @INDENT@
+INDENT_FLAGS = @INDENT_FLAGS@
+
# Python and flags (generally only needed by the developers)
PYTHON2 = @PYTHON2@
PYTHON_FLAGS = -t -O -O