From 29943519a7f49d6c949f6512dac05ac356e53105 Mon Sep 17 00:00:00 2001
From: James Zern <jzern@google.com>
Date: Thu, 24 Jul 2014 14:55:19 -0700
Subject: [PATCH] rtcd.pl: check for auto_help availability

'auto_help' was added to Getopt::Long in 2.33
this isn't strictly necessary as an unrecognized option (--help) will
issue a warning and then print the usage

Change-Id: Ia757553a4e19d22a8eb70768a8866ab1a76a0eec
---
 build/make/rtcd.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/make/rtcd.pl b/build/make/rtcd.pl
index f5f59b1465..295443c0f6 100755
--- a/build/make/rtcd.pl
+++ b/build/make/rtcd.pl
@@ -3,7 +3,7 @@
 no strict 'refs';
 use warnings;
 use Getopt::Long;
-Getopt::Long::Configure("auto_help");
+Getopt::Long::Configure("auto_help") if $Getopt::Long::VERSION > 2.32;
 
 my %ALL_FUNCS = ();
 my @ALL_ARCHS;
-- 
GitLab