From: Bruno Haible <bruno@clisp.org>
Date: Tue, 25 Jul 2006 19:38:53 +0000 (+0000)
Subject: Trivial simplification.
X-Git-Tag: cvs-readonly~2137
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=ea5e4e241dda403a4e718146ff110c79c6bf9506;p=gnulib.git

Trivial simplification.
---

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  <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.
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