components/llvm/patches/000-AutoRegen.sh.patch
changeset 5434 9f55c805ce9d
equal deleted inserted replaced
5428:3c05d530e67e 5434:9f55c805ce9d
       
     1 # Solaris autoconf-based build.
       
     2 # https://llvm.org/bugs/show_bug.cgi?id=24641
       
     3 --- autoconf/AutoRegen.sh	2014-02-28 13:17:54.000000000 -0500
       
     4 +++ autoconf/AutoRegen.sh	2015-07-18 15:03:22.104835693 -0400
       
     5 @@ -19,6 +19,21 @@
       
     6  want_aclocal_version='1\.9\.6'
       
     7  ### END NOTE #########################################################
       
     8  
       
     9 +UNAMES="`uname -s`"
       
    10 +UNAMER="`uname -r`"
       
    11 +
       
    12 +if [ "${UNAMES}" = "SunOS" ] ; then
       
    13 +  if [ "${UNAMER}" = "5.11" ] ; then
       
    14 +    want_autoconf_version='2\.68'
       
    15 +    want_autoheader_version=$want_autoconf_version
       
    16 +    want_aclocal_version='1\.11\.2'
       
    17 +  elif [ "${UNAMER}" = "5.12" ] ; then
       
    18 +    want_autoconf_version='2\.69'
       
    19 +    want_autoheader_version=$want_autoconf_version
       
    20 +    want_aclocal_version='1\.15'
       
    21 +  fi
       
    22 +fi
       
    23 +
       
    24  outfile=configure
       
    25  configfile=configure.ac
       
    26