Mercurial > hg > octave-kai > gnulib-hg
changeset 7049:ab580b6ba2ff
Trivial simplification.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 25 Jul 2006 19:38:53 +0000 |
parents | a20a6a93ab74 |
children | 90e96a481564 |
files | m4/ChangeLog m4/stdint.m4 |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,8 @@ +2006-07-25 Bruno Haible <bruno@clisp.org> + + * stdint.m4 (gl_INTEGER_TYPE_SUFFIX): Avoid 'eval' in front of complex + commands. + 2006-07-24 Paul Eggert <eggert@cs.ucla.edu> * stdio-safer.m4 (gl_FOPEN_SAFER, gl_TMPFILE_SAFER): New macros.
--- a/m4/stdint.m4 +++ b/m4/stdint.m4 @@ -1,4 +1,4 @@ -# stdint.m4 serial 15 +# stdint.m4 serial 16 dnl Copyright (C) 2001-2002, 2004-2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -296,7 +296,8 @@ extern $gltype foo; extern $gltype1 foo;])], [eval gl_cv_type_${gltype}_suffix=\$glsuf]) - eval test \"\$gl_cv_type_${gltype}_suffix\" != no && break + eval result=\$gl_cv_type_${gltype}_suffix + test "$result" != no && break done]) GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` eval result=\$gl_cv_type_${gltype}_suffix