Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: config/dfp.m4

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « config/cloog.m4 ('k') | config/gthr.m4 » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dnl @synopsis GCC_AC_ENABLE_DECIMAL_FLOAT([target triplet]) 1 dnl @synopsis GCC_AC_ENABLE_DECIMAL_FLOAT([target triplet])
2 dnl 2 dnl
3 dnl Enable C extension for decimal float if target supports it. 3 dnl Enable C extension for decimal float if target supports it.
4 dnl 4 dnl
5 dnl @author Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 5 dnl @author Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6 6
7 AC_DEFUN([GCC_AC_ENABLE_DECIMAL_FLOAT], 7 AC_DEFUN([GCC_AC_ENABLE_DECIMAL_FLOAT],
8 [ 8 [
9 AC_ARG_ENABLE(decimal-float, 9 AC_ARG_ENABLE(decimal-float,
10 [ --enable-decimal-float={no,yes,bid,dpd} 10 [ --enable-decimal-float={no,yes,bid,dpd}
11 enable decimal float extension to C. Selecting 'bid' 11 enable decimal float extension to C. Selecting 'bid'
12 or 'dpd' choses which decimal floating point format 12 or 'dpd' choses which decimal floating point format
13 to use], 13 to use],
14 [ 14 [
15 case $enable_decimal_float in 15 case $enable_decimal_float in
16 yes | no | bid | dpd) default_decimal_float=$enable_decimal_float ;; 16 yes | no | bid | dpd) default_decimal_float=$enable_decimal_float ;;
17 *) AC_MSG_ERROR(['$enable_decimal_float' is an invalid value for --enable-de cimal-float. 17 *) AC_MSG_ERROR(['$enable_decimal_float' is an invalid value for --enable-de cimal-float.
18 Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;; 18 Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;;
19 esac 19 esac
20 ], 20 ],
21 [ 21 [
22 case $1 in 22 case $1 in
23 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \ 23 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
24 i?86*-*-gnu* | \
24 i?86*-*-mingw* | x86_64*-*-mingw* | \ 25 i?86*-*-mingw* | x86_64*-*-mingw* | \
25 i?86*-*-cygwin*) 26 i?86*-*-cygwin* | x86_64*-*-cygwin*)
26 enable_decimal_float=yes 27 enable_decimal_float=yes
27 ;; 28 ;;
28 *) 29 *)
29 AC_MSG_WARN([decimal float is not supported for this target, ignored]) 30 AC_MSG_WARN([decimal float is not supported for this target, ignored])
30 enable_decimal_float=no 31 enable_decimal_float=no
31 ;; 32 ;;
32 esac 33 esac
33 ]) 34 ])
34 35
35 # x86's use BID format instead of DPD 36 # x86's use BID format instead of DPD
(...skipping 11 matching lines...) Expand all
47 ;; 48 ;;
48 xno) 49 xno)
49 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper 50 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
50 # dependency on libdecnumber. 51 # dependency on libdecnumber.
51 default_decimal_float=dpd 52 default_decimal_float=dpd
52 ;; 53 ;;
53 esac 54 esac
54 AC_SUBST(enable_decimal_float) 55 AC_SUBST(enable_decimal_float)
55 56
56 ]) 57 ])
OLDNEW
« no previous file with comments | « config/cloog.m4 ('k') | config/gthr.m4 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698