Trivial simplification.
authorBruno Haible <bruno@clisp.org>
Tue, 25 Jul 2006 19:38:53 +0000 (19:38 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 25 Jul 2006 19:38:53 +0000 (19:38 +0000)
m4/ChangeLog
m4/stdint.m4

index 5ca96cb391a6ac7911fed2abed23b6c8ae1a58cd..1cbc0f6aa8d4fc6e57c95899fb24ea789bde9891 100644 (file)
@@ -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.
index fa073cd19d3e9afe0a0903261d5cd3fa35771ce9..73bb0ebae96aefbf9c5d048cec76e90eca096cac 100644 (file)
@@ -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