config/arch/sh.in.2
author Matthieu Crapet <mcrapet@gmail.com>
Wed Jun 06 12:03:12 2012 +0200 (2012-06-06)
changeset 2991 252ade1e9e17
parent 1782 5eda3399a797
permissions -rw-r--r--
libc/eglibc: fix missing LIBC_TRY_CC_OPTION definition (eglibc 2.15)

Upstream SVN is currently broken:
http://www.eglibc.org/svn/branches/eglibc-2_15/libc/

LIBC_TRY_CC_OPTION macro is not defined in aclocal.m4.
This patch fix the configure script.

Once upstream branch will be fixed this patch could be reverted.

Related patch (committed to eglibc trunk):
Use autoconf macro for testing compiler options with empty input
http://sourceware.org/ml/libc-alpha/2012-03/msg00816.html

Signed-off-by: Matthieu Crapet <mcrapet@gmail.com>

diff -r 1f6c8e4b2b92 -r d10afc5bcc25
patches/eglibc/2_15/110-aclocal-LIBC_TRY_CC_OPTION.patch
     1 # Super-H specific configuration file
     2 
     3 choice
     4     bool
     5     prompt "Variant"
     6 
     7 config ARCH_SH_SH3
     8     bool
     9     prompt "sh3"
    10 
    11 config ARCH_SH_SH4
    12     bool
    13     prompt "sh4"
    14 
    15 config ARCH_SH_SH4A
    16     bool
    17     prompt "sh4a"
    18 
    19 endchoice
    20 
    21 config ARCH_SH_VARIANT
    22     string
    23     default "sh3"   if ARCH_SH_SH3
    24     default "sh4"   if ARCH_SH_SH4
    25     default "sh4a"  if ARCH_SH_SH4A