]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Undo needless efforts to protect $2 in $2_t.
authorEric Blake <ebb9@byu.net>
Wed, 29 Oct 2008 02:45:58 +0000 (20:45 -0600)
committerEric Blake <ebb9@byu.net>
Wed, 29 Oct 2008 02:45:58 +0000 (20:45 -0600)
* lib/autoconf/types.m4 (_AC_TYPE_INT_BODY)
(_AC_TYPE_UNSIGNED_INT_BODY): Reduce extra quoting.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/autoconf/types.m4

index b5d860f82e40cfbac595aefdb20ba4f4a1802989..3d9d6fdee157b9a823a1767b39f5e05e590a7d21 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-10-28  Eric Blake  <ebb9@byu.net>
+
+       Undo needless efforts to protect $2 in $2_t.
+       * lib/autoconf/types.m4 (_AC_TYPE_INT_BODY)
+       (_AC_TYPE_UNSIGNED_INT_BODY): Reduce extra quoting.
+
 2008-10-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Fix parallel test execution output lossage.
index 5e48a16bd5ed4ae87e911d1b3fb1f296f311569c..6360d404a1bceffa4846c40e8ac2529711898a11 100644 (file)
@@ -647,9 +647,9 @@ AC_DEFUN([AC_TYPE_UINT64_T], [_AC_TYPE_UNSIGNED_INT(64)])
 # Shell function body for _AC_TYPE_INT.
 m4_define([_AC_TYPE_INT_BODY],
 [  AS_LINENO_PUSH([$[]1])
-  AC_CACHE_CHECK([for int$[]2${ac_nonexistent_var}_t], [$[]3],
+  AC_CACHE_CHECK([for int$[]2_t], [$[]3],
     [AS_VAR_SET([$[]3], [no])
-     for ac_type in int$[]2""_t 'int' 'long int' \
+     for ac_type in int$[]2_t 'int' 'long int' \
         'long long int' 'short int' 'signed char'; do
        AC_COMPILE_IFELSE(
         [AC_LANG_BOOL_COMPILE_TRY(
@@ -661,7 +661,7 @@ m4_define([_AC_TYPE_INT_BODY],
               [($ac_type) (((($ac_type) 1 << ($[]2 - 2)) - 1) * 2 + 1)
                 < ($ac_type) (((($ac_type) 1 << ($[]2 - 2)) - 1) * 2 + 2)])],
            [],
-           [AS_CASE([$ac_type], [int$[]2""_t],
+           [AS_CASE([$ac_type], [int$[]2_t],
               [AS_VAR_SET([$[]3], [yes])],
               [AS_VAR_SET([$[]3], [$ac_type])])])])
        AS_VAR_IF([$[]3], [no], [], [break])
@@ -697,15 +697,15 @@ esac
 # Shell function body for _AC_TYPE_UNSIGNED_INT.
 m4_define([_AC_TYPE_UNSIGNED_INT_BODY],
 [  AS_LINENO_PUSH([$[]1])
-  AC_CACHE_CHECK([for uint$[]2${ac_nonexistent_var}_t], $[]3,
+  AC_CACHE_CHECK([for uint$[]2_t], $[]3,
     [AS_VAR_SET([$[]3], [no])
-     for ac_type in uint$[]2""_t 'unsigned int' 'unsigned long int' \
+     for ac_type in uint$[]2_t 'unsigned int' 'unsigned long int' \
         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
        AC_COMPILE_IFELSE(
         [AC_LANG_BOOL_COMPILE_TRY(
            [AC_INCLUDES_DEFAULT],
            [($ac_type) -1 >> ($[]2 - 1) == 1])],
-        [AS_CASE([$ac_type], [uint$[]2""_t],
+        [AS_CASE([$ac_type], [uint$[]2_t],
            [AS_VAR_SET([$[]3], [yes])],
            [AS_VAR_SET([$[]3], [$ac_type])])])
        AS_VAR_IF([$[]3], [no], [], [break])