Mercurial > hg > octave-kai > gnulib-hg
comparison m4/math_h.m4 @ 12960:1583e59dfb92
Tests of module 'math' in C++ mode.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 08 Mar 2010 02:37:37 +0100 |
parents | d3ea0f2aacfc |
children | fc8c984b0733 |
comparison
equal
deleted
inserted
replaced
12959:55bb113c21f1 | 12960:1583e59dfb92 |
---|---|
1 # math_h.m4 serial 18 | 1 # math_h.m4 serial 19 |
2 dnl Copyright (C) 2007-2010 Free Software Foundation, Inc. | 2 dnl Copyright (C) 2007-2010 Free Software Foundation, Inc. |
3 dnl This file is free software; the Free Software Foundation | 3 dnl This file is free software; the Free Software Foundation |
4 dnl gives unlimited permission to copy and/or distribute it, | 4 dnl gives unlimited permission to copy and/or distribute it, |
5 dnl with or without modifications, as long as this notice is preserved. | 5 dnl with or without modifications, as long as this notice is preserved. |
6 | 6 |
46 AC_DEFUN([gl_MATH_MODULE_INDICATOR], | 46 AC_DEFUN([gl_MATH_MODULE_INDICATOR], |
47 [ | 47 [ |
48 dnl Use AC_REQUIRE here, so that the default settings are expanded once only. | 48 dnl Use AC_REQUIRE here, so that the default settings are expanded once only. |
49 AC_REQUIRE([gl_MATH_H_DEFAULTS]) | 49 AC_REQUIRE([gl_MATH_H_DEFAULTS]) |
50 GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 | 50 GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 |
51 dnl Define it also as a C macro, for the benefit of the unit tests. | |
52 gl_MODULE_INDICATOR([$1]) | |
51 ]) | 53 ]) |
52 | 54 |
53 AC_DEFUN([gl_MATH_H_DEFAULTS], | 55 AC_DEFUN([gl_MATH_H_DEFAULTS], |
54 [ | 56 [ |
55 GNULIB_ACOSL=0; AC_SUBST([GNULIB_ACOSL]) | 57 GNULIB_ACOSL=0; AC_SUBST([GNULIB_ACOSL]) |