components/llvm/patches/000-AutoRegen.sh.patch
changeset 5434 9f55c805ce9d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/llvm/patches/000-AutoRegen.sh.patch	Wed Feb 10 11:54:12 2016 -0800
@@ -0,0 +1,26 @@
+# Solaris autoconf-based build.
+# https://llvm.org/bugs/show_bug.cgi?id=24641
+--- autoconf/AutoRegen.sh	2014-02-28 13:17:54.000000000 -0500
++++ autoconf/AutoRegen.sh	2015-07-18 15:03:22.104835693 -0400
+@@ -19,6 +19,21 @@
+ want_aclocal_version='1\.9\.6'
+ ### END NOTE #########################################################
+ 
++UNAMES="`uname -s`"
++UNAMER="`uname -r`"
++
++if [ "${UNAMES}" = "SunOS" ] ; then
++  if [ "${UNAMER}" = "5.11" ] ; then
++    want_autoconf_version='2\.68'
++    want_autoheader_version=$want_autoconf_version
++    want_aclocal_version='1\.11\.2'
++  elif [ "${UNAMER}" = "5.12" ] ; then
++    want_autoconf_version='2\.69'
++    want_autoheader_version=$want_autoconf_version
++    want_aclocal_version='1\.15'
++  fi
++fi
++
+ outfile=configure
+ configfile=configure.ac
+