From ea5e4e241dda403a4e718146ff110c79c6bf9506 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 25 Jul 2006 19:38:53 +0000 Subject: [PATCH] Trivial simplification. --- m4/ChangeLog | 5 +++++ m4/stdint.m4 | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/m4/ChangeLog b/m4/ChangeLog index 5ca96cb391..1cbc0f6aa8 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,8 @@ +2006-07-25 Bruno Haible + + * stdint.m4 (gl_INTEGER_TYPE_SUFFIX): Avoid 'eval' in front of complex + commands. + 2006-07-24 Paul Eggert * stdio-safer.m4 (gl_FOPEN_SAFER, gl_TMPFILE_SAFER): New macros. diff --git a/m4/stdint.m4 b/m4/stdint.m4 index fa073cd19d..73bb0ebae9 100644 --- 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 @@ AC_DEFUN([gl_INTEGER_TYPE_SUFFIX], 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 -- 2.30.2