config/companion_libs/mpc.in
author Matthieu Crapet <mcrapet@gmail.com>
Wed Jun 06 12:03:12 2012 +0200 (2012-06-06)
changeset 2991 252ade1e9e17
parent 2319 ef1c7007dfeb
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 # MPC options
     2 
     3 choice
     4     bool
     5     prompt "MPC version"
     6 # Don't remove next line
     7 # CT_INSERT_VERSION_BELOW
     8 
     9 config MPC_V_0_9
    10     bool
    11     prompt "0.9"
    12 
    13 config MPC_V_0_8_2
    14     bool
    15     prompt "0.8.2"
    16 
    17 
    18 config MPC_V_0_8_1
    19     bool
    20     prompt "0.8.1"
    21 
    22 config MPC_V_0_7
    23     bool
    24     prompt "0.7"
    25 
    26 config MPC_V_0_6
    27     bool
    28     prompt "0.6 (OBSOLETE)"
    29     depends on OBSOLETE
    30 
    31 endchoice
    32 
    33 config MPC_VERSION
    34     string
    35 # Don't remove next line
    36 # CT_INSERT_VERSION_STRING_BELOW
    37     default "0.9" if MPC_V_0_9
    38     default "0.8.2" if MPC_V_0_8_2
    39     default "0.8.1" if MPC_V_0_8_1
    40     default "0.7" if MPC_V_0_7
    41     default "0.6" if MPC_V_0_6