Mercurial > hg > octave-lyh > gnulib-hg
changeset 9425:b60ac48de79f
Rename the cache variable to contain the special marker '_cv_'.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 30 Oct 2007 01:31:13 +0100 |
parents | d852c1c185e4 |
children | 3384ef16a830 |
files | ChangeLog m4/ceil.m4 m4/ceilf.m4 m4/ceill.m4 m4/floor.m4 m4/floorf.m4 m4/floorl.m4 |
diffstat | 7 files changed, 47 insertions(+), 36 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2007-10-29 Bruno Haible <bruno@clisp.org> + + * m4/floorf.m4 (gl_FUNC_FLOORF_LIBS): Rename the cache variable to + contain the special marker '_cv_'. + * m4/floor.m4 (gl_FUNC_FLOOR_LIBS): Likewise. + * m4/floorl.m4 (gl_FUNC_FLOORL_LIBS): Likewise. + * m4/ceilf.m4 (gl_FUNC_CEILF_LIBS): Likewise. + * m4/ceil.m4 (gl_FUNC_CEIL_LIBS): Likewise. + * m4/ceill.m4 (gl_FUNC_CEILL_LIBS): Likewise. + Reported by Ralf Wildenhues. + 2007-10-29 Bruno Haible <bruno@clisp.org> * gnulib-tool (func_import): When --lgpl is not specified, set
--- a/m4/ceil.m4 +++ b/m4/ceil.m4 @@ -18,8 +18,8 @@ # Sets CEIL_LIBM. AC_DEFUN([gl_FUNC_CEIL_LIBS], [ - AC_CACHE_VAL([gl_func_ceil_libm], [ - gl_func_ceil_libm=? + AC_CACHE_VAL([gl_cv_func_ceil_libm], [ + gl_cv_func_ceil_libm=? AC_TRY_LINK([ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ @@ -27,8 +27,8 @@ #include <math.h> double x;], [x = ceil(x);], - [gl_func_ceil_libm=]) - if test "$gl_func_ceil_libm" = "?"; then + [gl_cv_func_ceil_libm=]) + if test "$gl_cv_func_ceil_libm" = "?"; then save_LIBS="$LIBS" LIBS="$LIBS -lm" AC_TRY_LINK([ @@ -38,9 +38,9 @@ #include <math.h> double x;], [x = ceil(x);], - [gl_func_ceil_libm="-lm"]) + [gl_cv_func_ceil_libm="-lm"]) LIBS="$save_LIBS" fi ]) - CEIL_LIBM="$gl_func_ceil_libm" + CEIL_LIBM="$gl_cv_func_ceil_libm" ])
--- a/m4/ceilf.m4 +++ b/m4/ceilf.m4 @@ -34,8 +34,8 @@ # Sets CEILF_LIBM. AC_DEFUN([gl_FUNC_CEILF_LIBS], [ - AC_CACHE_VAL([gl_func_ceilf_libm], [ - gl_func_ceilf_libm=? + AC_CACHE_VAL([gl_cv_func_ceilf_libm], [ + gl_cv_func_ceilf_libm=? AC_TRY_LINK([ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ @@ -43,8 +43,8 @@ #include <math.h> float x;], [x = ceilf(x);], - [gl_func_ceilf_libm=]) - if test "$gl_func_ceilf_libm" = "?"; then + [gl_cv_func_ceilf_libm=]) + if test "$gl_cv_func_ceilf_libm" = "?"; then save_LIBS="$LIBS" LIBS="$LIBS -lm" AC_TRY_LINK([ @@ -54,9 +54,9 @@ #include <math.h> float x;], [x = ceilf(x);], - [gl_func_ceilf_libm="-lm"]) + [gl_cv_func_ceilf_libm="-lm"]) LIBS="$save_LIBS" fi ]) - CEILF_LIBM="$gl_func_ceilf_libm" + CEILF_LIBM="$gl_cv_func_ceilf_libm" ])
--- a/m4/ceill.m4 +++ b/m4/ceill.m4 @@ -34,8 +34,8 @@ # Sets CEILL_LIBM. AC_DEFUN([gl_FUNC_CEILL_LIBS], [ - AC_CACHE_VAL([gl_func_ceill_libm], [ - gl_func_ceill_libm=? + AC_CACHE_VAL([gl_cv_func_ceill_libm], [ + gl_cv_func_ceill_libm=? AC_TRY_LINK([ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ @@ -43,8 +43,8 @@ #include <math.h> long double x;], [x = ceill(x);], - [gl_func_ceill_libm=]) - if test "$gl_func_ceill_libm" = "?"; then + [gl_cv_func_ceill_libm=]) + if test "$gl_cv_func_ceill_libm" = "?"; then save_LIBS="$LIBS" LIBS="$LIBS -lm" AC_TRY_LINK([ @@ -54,9 +54,9 @@ #include <math.h> long double x;], [x = ceill(x);], - [gl_func_ceill_libm="-lm"]) + [gl_cv_func_ceill_libm="-lm"]) LIBS="$save_LIBS" fi ]) - CEILL_LIBM="$gl_func_ceill_libm" + CEILL_LIBM="$gl_cv_func_ceill_libm" ])
--- a/m4/floor.m4 +++ b/m4/floor.m4 @@ -18,8 +18,8 @@ # Sets FLOOR_LIBM. AC_DEFUN([gl_FUNC_FLOOR_LIBS], [ - AC_CACHE_VAL([gl_func_floor_libm], [ - gl_func_floor_libm=? + AC_CACHE_VAL([gl_cv_func_floor_libm], [ + gl_cv_func_floor_libm=? AC_TRY_LINK([ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ @@ -27,8 +27,8 @@ #include <math.h> double x;], [x = floor(x);], - [gl_func_floor_libm=]) - if test "$gl_func_floor_libm" = "?"; then + [gl_cv_func_floor_libm=]) + if test "$gl_cv_func_floor_libm" = "?"; then save_LIBS="$LIBS" LIBS="$LIBS -lm" AC_TRY_LINK([ @@ -38,9 +38,9 @@ #include <math.h> double x;], [x = floor(x);], - [gl_func_floor_libm="-lm"]) + [gl_cv_func_floor_libm="-lm"]) LIBS="$save_LIBS" fi ]) - FLOOR_LIBM="$gl_func_floor_libm" + FLOOR_LIBM="$gl_cv_func_floor_libm" ])
--- a/m4/floorf.m4 +++ b/m4/floorf.m4 @@ -34,8 +34,8 @@ # Sets FLOORF_LIBM. AC_DEFUN([gl_FUNC_FLOORF_LIBS], [ - AC_CACHE_VAL([gl_func_floorf_libm], [ - gl_func_floorf_libm=? + AC_CACHE_VAL([gl_cv_func_floorf_libm], [ + gl_cv_func_floorf_libm=? AC_TRY_LINK([ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ @@ -43,8 +43,8 @@ #include <math.h> float x;], [x = floorf(x);], - [gl_func_floorf_libm=]) - if test "$gl_func_floorf_libm" = "?"; then + [gl_cv_func_floorf_libm=]) + if test "$gl_cv_func_floorf_libm" = "?"; then save_LIBS="$LIBS" LIBS="$LIBS -lm" AC_TRY_LINK([ @@ -54,9 +54,9 @@ #include <math.h> float x;], [x = floorf(x);], - [gl_func_floorf_libm="-lm"]) + [gl_cv_func_floorf_libm="-lm"]) LIBS="$save_LIBS" fi ]) - FLOORF_LIBM="$gl_func_floorf_libm" + FLOORF_LIBM="$gl_cv_func_floorf_libm" ])
--- a/m4/floorl.m4 +++ b/m4/floorl.m4 @@ -34,8 +34,8 @@ # Sets FLOORL_LIBM. AC_DEFUN([gl_FUNC_FLOORL_LIBS], [ - AC_CACHE_VAL([gl_func_floorl_libm], [ - gl_func_floorl_libm=? + AC_CACHE_VAL([gl_cv_func_floorl_libm], [ + gl_cv_func_floorl_libm=? AC_TRY_LINK([ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ @@ -43,8 +43,8 @@ #include <math.h> long double x;], [x = floorl(x);], - [gl_func_floorl_libm=]) - if test "$gl_func_floorl_libm" = "?"; then + [gl_cv_func_floorl_libm=]) + if test "$gl_cv_func_floorl_libm" = "?"; then save_LIBS="$LIBS" LIBS="$LIBS -lm" AC_TRY_LINK([ @@ -54,9 +54,9 @@ #include <math.h> long double x;], [x = floorl(x);], - [gl_func_floorl_libm="-lm"]) + [gl_cv_func_floorl_libm="-lm"]) LIBS="$save_LIBS" fi ]) - FLOORL_LIBM="$gl_func_floorl_libm" + FLOORL_LIBM="$gl_cv_func_floorl_libm" ])