* aclocal.m4 (KRB5_AC_CHECK_TYPE_WITH_HEADERS): Use quotes around tr arguments
authorKen Raeburn <raeburn@mit.edu>
Sat, 8 Apr 2006 11:08:49 +0000 (11:08 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 8 Apr 2006 11:08:49 +0000 (11:08 +0000)
to prevent shell substitutions.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17881 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4

index 0789acaa06da831ca960208e6385f0b8a994d920..acebdf25f6027fafb80a1f1c4a2e1aa47d44aeac 100644 (file)
@@ -2,6 +2,8 @@
 
        * aclocal.m4 (CONFIG_RULES): Don't define KRB5_PRIVATE or
        KRB5_DEPRECATED.
+       (KRB5_AC_CHECK_TYPE_WITH_HEADERS): Use quotes around tr
+       arguments to prevent shell substitutions.
 
 2006-04-05  Tom Yu  <tlyu@mit.edu>
 
index 8001a9345fd287dba5176bfa8465534d1dc2a79c..27f0ad6f894fef58c2dba0e8781d986e6d60f942 100644 (file)
@@ -409,7 +409,7 @@ AC_TRY_COMPILE([$2],[ $1 foo; ], eval krb5_cv_$varname=yes, eval krb5_cv_$varnam
 eval x="\$krb5_cv_$varname"
 AC_MSG_RESULT($x)
 if eval test "$x" = yes ; then
-  AC_DEFINE_UNQUOTED(HAVE_`echo $varname | tr [[[a-z]]] [[[A-Z]]]`)
+  AC_DEFINE_UNQUOTED(HAVE_`echo $varname | tr '[[[a-z]]]' '[[[A-Z]]]'`)
 fi])
 dnl
 dnl