diff m4/mathfunc.m4 @ 13396:a6b472aaadaf

Prefer documented low-level autoconf macro names.
author Bruno Haible <bruno@clisp.org>
date Sat, 05 Jun 2010 03:46:32 +0200 (2010-06-05)
parents 6ff1b1c23f57
children f8e55a0771f7
line wrap: on
line diff
--- a/m4/mathfunc.m4
+++ b/m4/mathfunc.m4
@@ -1,4 +1,4 @@
-# mathfunc.m4 serial 3
+# mathfunc.m4 serial 4
 dnl Copyright (C) 2010 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -17,8 +17,8 @@
   dnl are inlined by the compiler, therefore linking of these calls does not
   dnl require -lm, but taking the function pointer of 'fabs' does.
   m4_pushdef([func], [$1])
-  m4_pushdef([FUNC], [translit([$1],[abcdefghijklmnopqrstuvwxyz],
-                                    [ABCDEFGHIJKLMNOPQRSTUVWXYZ])])
+  m4_pushdef([FUNC], [m4_translit([$1],[abcdefghijklmnopqrstuvwxyz],
+                                       [ABCDEFGHIJKLMNOPQRSTUVWXYZ])])
   FUNC[]_LIBM=
   AC_CACHE_CHECK([whether func() can be used without linking with libm],
     [gl_cv_func_]func[_no_libm],
@@ -71,8 +71,8 @@
 AC_DEFUN([gl_COMMON_DOUBLE_MATHFUNC],
 [
   AC_REQUIRE([gl_COMMON_DOUBLE_MATHFUNC_TEST])
-  m4_pushdef([FUNC], [translit([$1],[abcdefghijklmnopqrstuvwxyz],
-                                    [ABCDEFGHIJKLMNOPQRSTUVWXYZ])])
+  m4_pushdef([FUNC], [m4_translit([$1],[abcdefghijklmnopqrstuvwxyz],
+                                       [ABCDEFGHIJKLMNOPQRSTUVWXYZ])])
   FUNC[]_LIBM="$POW_LIBM"
   AC_SUBST(FUNC[_LIBM])
   m4_popdef([FUNC])