annotate m4/mathfunc.m4 @ 15009:2917eb19f982

truncl: Move AC_LIBOBJ invocations to module description. * m4/truncl.m4 (gl_FUNC_TRUNCL): Move AC_LIBOBJ invocation from here... * modules/truncl (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 11:32:55 +0200
parents 97fc9a21a8fb
children bc22a56bfa43
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13513
fb8c08347f76 Correctly determine whether pow is available in libc on AIX 7 with xlc.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
1 # mathfunc.m4 serial 6
14079
97fc9a21a8fb maint: update almost all copyright ranges to include 2011
Jim Meyering <meyering@redhat.com>
parents: 13519
diff changeset
2 dnl Copyright (C) 2010-2011 Free Software Foundation, Inc.
12750
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 dnl This file is free software; the Free Software Foundation
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 dnl gives unlimited permission to copy and/or distribute it,
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 dnl with or without modifications, as long as this notice is preserved.
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6
12777
8e7ed08a499b Fix tests for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12750
diff changeset
7 # gl_MATHFUNC(FUNC, RETTYPE, PARAMTYPES)
8e7ed08a499b Fix tests for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12750
diff changeset
8 # --------------------------------------------------
8e7ed08a499b Fix tests for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12750
diff changeset
9 # tests whether the function FUNC is available in libc or libm.
8e7ed08a499b Fix tests for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12750
diff changeset
10 # RETTYPE is the return type. PARAMTYPES is a parameter list, with parentheses.
8e7ed08a499b Fix tests for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12750
diff changeset
11 # It sets FUNC_LIBM to empty or "-lm" accordingly.
12750
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 AC_DEFUN([gl_MATHFUNC],
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 [
12777
8e7ed08a499b Fix tests for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12750
diff changeset
15 dnl We need the RETTYPE and PARAMTYPES in order to force linking with the
8e7ed08a499b Fix tests for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12750
diff changeset
16 dnl function. With gcc >= 4.3 on glibc/x86_64, calls to the 'fabs' function
8e7ed08a499b Fix tests for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12750
diff changeset
17 dnl are inlined by the compiler, therefore linking of these calls does not
8e7ed08a499b Fix tests for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12750
diff changeset
18 dnl require -lm, but taking the function pointer of 'fabs' does.
12750
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 m4_pushdef([func], [$1])
13396
a6b472aaadaf Prefer documented low-level autoconf macro names.
Bruno Haible <bruno@clisp.org>
parents: 12841
diff changeset
20 m4_pushdef([FUNC], [m4_translit([$1],[abcdefghijklmnopqrstuvwxyz],
a6b472aaadaf Prefer documented low-level autoconf macro names.
Bruno Haible <bruno@clisp.org>
parents: 12841
diff changeset
21 [ABCDEFGHIJKLMNOPQRSTUVWXYZ])])
12750
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 FUNC[]_LIBM=
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 AC_CACHE_CHECK([whether func() can be used without linking with libm],
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 [gl_cv_func_]func[_no_libm],
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 [
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 AC_LINK_IFELSE(
13513
fb8c08347f76 Correctly determine whether pow is available in libc on AIX 7 with xlc.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
27 [AC_LANG_PROGRAM(
fb8c08347f76 Correctly determine whether pow is available in libc on AIX 7 with xlc.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
28 [[#ifndef __NO_MATH_INLINES
fb8c08347f76 Correctly determine whether pow is available in libc on AIX 7 with xlc.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
29 # define __NO_MATH_INLINES 1 /* for glibc */
fb8c08347f76 Correctly determine whether pow is available in libc on AIX 7 with xlc.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
30 #endif
fb8c08347f76 Correctly determine whether pow is available in libc on AIX 7 with xlc.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
31 #include <math.h>
13519
da9dc9b63c04 Oops, fix last commit so that it also works with modf().
Bruno Haible <bruno@clisp.org>
parents: 13513
diff changeset
32 $2 (*funcptr) $3 = ]func[;
da9dc9b63c04 Oops, fix last commit so that it also works with modf().
Bruno Haible <bruno@clisp.org>
parents: 13513
diff changeset
33 double d_ret;]],
da9dc9b63c04 Oops, fix last commit so that it also works with modf().
Bruno Haible <bruno@clisp.org>
parents: 13513
diff changeset
34 [[$2 y = funcptr ]m4_bpatsubst([m4_bpatsubst([m4_bpatsubst([$3], [int], [2])], [double \*], [&d_ret])], [double], [1.6180339887])[;
13513
fb8c08347f76 Correctly determine whether pow is available in libc on AIX 7 with xlc.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
35 return y < 0.3 || y > 1.7;
fb8c08347f76 Correctly determine whether pow is available in libc on AIX 7 with xlc.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
36 ]])],
12750
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
37 [gl_cv_func_]func[_no_libm=yes],
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
38 [gl_cv_func_]func[_no_libm=no])
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
39 ])
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
40 if test $gl_cv_func_[]func[]_no_libm = no; then
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
41 AC_CACHE_CHECK([whether func() can be used with libm],
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
42 [gl_cv_func_]func[_in_libm],
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
43 [
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
44 save_LIBS="$LIBS"
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
45 LIBS="$LIBS -lm"
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
46 AC_LINK_IFELSE(
13513
fb8c08347f76 Correctly determine whether pow is available in libc on AIX 7 with xlc.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
47 [AC_LANG_PROGRAM(
fb8c08347f76 Correctly determine whether pow is available in libc on AIX 7 with xlc.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
48 [[#ifndef __NO_MATH_INLINES
fb8c08347f76 Correctly determine whether pow is available in libc on AIX 7 with xlc.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
49 # define __NO_MATH_INLINES 1 /* for glibc */
fb8c08347f76 Correctly determine whether pow is available in libc on AIX 7 with xlc.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
50 #endif
fb8c08347f76 Correctly determine whether pow is available in libc on AIX 7 with xlc.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
51 #include <math.h>
13519
da9dc9b63c04 Oops, fix last commit so that it also works with modf().
Bruno Haible <bruno@clisp.org>
parents: 13513
diff changeset
52 $2 (*funcptr) $3 = ]func[;
da9dc9b63c04 Oops, fix last commit so that it also works with modf().
Bruno Haible <bruno@clisp.org>
parents: 13513
diff changeset
53 double d_ret;]],
da9dc9b63c04 Oops, fix last commit so that it also works with modf().
Bruno Haible <bruno@clisp.org>
parents: 13513
diff changeset
54 [[$2 y = funcptr ]m4_bpatsubst([m4_bpatsubst([m4_bpatsubst([$3], [int], [2])], [double \*], [&d_ret])], [double], [1.6180339887])[;
13513
fb8c08347f76 Correctly determine whether pow is available in libc on AIX 7 with xlc.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
55 return y < 0.3 || y > 1.7;
fb8c08347f76 Correctly determine whether pow is available in libc on AIX 7 with xlc.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
56 ]])],
12750
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
57 [gl_cv_func_]func[_in_libm=yes],
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
58 [gl_cv_func_]func[_in_libm=no])
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
59 LIBS="$save_LIBS"
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
60 ])
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
61 if test $gl_cv_func_[]func[]_in_libm = yes; then
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
62 FUNC[]_LIBM=-lm
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
63 fi
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
64 fi
12777
8e7ed08a499b Fix tests for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12750
diff changeset
65 AC_SUBST(FUNC[_LIBM])
12750
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
66 m4_popdef([FUNC])
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
67 m4_popdef([func])
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
68 ])
12841
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
69
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
70 # gl_COMMON_DOUBLE_MATHFUNC(FUNC)
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
71 # -------------------------------
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
72 # tests whether the function FUNC is available in libc or libm.
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
73 # It sets FUNC_LIBM to empty or "-lm" accordingly.
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
74 # FUNC must be one of the following functions, that are present on all systems
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
75 # and provided by libm on all systems except MacOS X, BeOS, Haiku:
13510
f8e55a0771f7 copysign: Does not require -lm on glibc systems.
Bruno Haible <bruno@clisp.org>
parents: 13396
diff changeset
76 # acos asin atan atan2 cbrt cos cosh erf erfc exp fmod hypot j0 j1 jn lgamma
f8e55a0771f7 copysign: Does not require -lm on glibc systems.
Bruno Haible <bruno@clisp.org>
parents: 13396
diff changeset
77 # log log10 log1p pow remainder sin sinh sqrt tan tanh y0 y1 yn
12841
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
78
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
79 AC_DEFUN([gl_COMMON_DOUBLE_MATHFUNC],
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
80 [
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
81 AC_REQUIRE([gl_COMMON_DOUBLE_MATHFUNC_TEST])
13396
a6b472aaadaf Prefer documented low-level autoconf macro names.
Bruno Haible <bruno@clisp.org>
parents: 12841
diff changeset
82 m4_pushdef([FUNC], [m4_translit([$1],[abcdefghijklmnopqrstuvwxyz],
a6b472aaadaf Prefer documented low-level autoconf macro names.
Bruno Haible <bruno@clisp.org>
parents: 12841
diff changeset
83 [ABCDEFGHIJKLMNOPQRSTUVWXYZ])])
12841
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
84 FUNC[]_LIBM="$POW_LIBM"
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
85 AC_SUBST(FUNC[_LIBM])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
86 m4_popdef([FUNC])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
87 ])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
88
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
89 AC_DEFUN([gl_COMMON_DOUBLE_MATHFUNC_TEST],
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
90 [
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
91 dnl We could use any of the following:
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
92 dnl gl_MATHFUNC([acos], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
93 dnl gl_MATHFUNC([asin], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
94 dnl gl_MATHFUNC([atan], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
95 dnl gl_MATHFUNC([atan2], [double], [(double, double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
96 dnl gl_MATHFUNC([cbrt], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
97 dnl gl_MATHFUNC([cos], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
98 dnl gl_MATHFUNC([cosh], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
99 dnl gl_MATHFUNC([erf], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
100 dnl gl_MATHFUNC([erfc], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
101 dnl gl_MATHFUNC([exp], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
102 dnl gl_MATHFUNC([fmod], [double], [(double, double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
103 dnl gl_MATHFUNC([hypot], [double], [(double, double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
104 dnl gl_MATHFUNC([j0], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
105 dnl gl_MATHFUNC([j1], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
106 dnl gl_MATHFUNC([jn], [double], [(int, double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
107 dnl gl_MATHFUNC([lgamma], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
108 dnl gl_MATHFUNC([log], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
109 dnl gl_MATHFUNC([log10], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
110 dnl gl_MATHFUNC([log1p], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
111 dnl gl_MATHFUNC([pow], [double], [(double, double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
112 dnl gl_MATHFUNC([remainder], [double], [(double, double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
113 dnl gl_MATHFUNC([sin], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
114 dnl gl_MATHFUNC([sinh], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
115 dnl gl_MATHFUNC([sqrt], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
116 dnl gl_MATHFUNC([tan], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
117 dnl gl_MATHFUNC([tanh], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
118 dnl gl_MATHFUNC([y0], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
119 dnl gl_MATHFUNC([y1], [double], [(double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
120 dnl gl_MATHFUNC([yn], [double], [(int, double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
121 gl_MATHFUNC([pow], [double], [(double, double)])
6ff1b1c23f57 Perform the same test for many <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents: 12777
diff changeset
122 ])