config/companion_libs/gmp.in
author Matthieu Crapet <mcrapet@gmail.com>
Wed Jun 06 12:03:12 2012 +0200 (2012-06-06)
changeset 2991 252ade1e9e17
parent 2651 a171c274bc12
child 3142 6569f6a9060c
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 # GMP options
     2 
     3 choice
     4     bool
     5     prompt "GMP version"
     6 # Don't remove next line
     7 # CT_INSERT_VERSION_BELOW
     8 
     9 config GMP_V_5_0_2
    10     bool
    11     prompt "5.0.2"
    12 
    13 config GMP_V_5_0_1
    14     bool
    15     prompt "5.0.1"
    16 
    17 config GMP_V_4_3_2
    18     bool
    19     prompt "4.3.2"
    20 
    21 config GMP_V_4_3_1
    22     bool
    23     prompt "4.3.1"
    24 
    25 config GMP_V_4_3_0
    26     bool
    27     prompt "4.3.0"
    28 
    29 config GMP_V_4_2_4
    30     bool
    31     prompt "4.2.4 (OBSOLETE)"
    32     depends on OBSOLETE
    33 
    34 config GMP_V_4_2_2
    35     bool
    36     prompt "4.2.2 (OBSOLETE)"
    37     depends on OBSOLETE
    38 
    39 endchoice
    40 
    41 config GMP_VERSION
    42     string
    43 # Don't remove next line
    44 # CT_INSERT_VERSION_STRING_BELOW
    45     default "5.0.2" if GMP_V_5_0_2
    46     default "5.0.1" if GMP_V_5_0_1
    47     default "4.3.2" if GMP_V_4_3_2
    48     default "4.3.1" if GMP_V_4_3_1
    49     default "4.3.0" if GMP_V_4_3_0
    50     default "4.2.4" if GMP_V_4_2_4
    51     default "4.2.2" if GMP_V_4_2_2