From 23473a717b4a0563577bb04cdc29dee394ad5953 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 8 Apr 2006 11:08:49 +0000 Subject: [PATCH] * aclocal.m4 (KRB5_AC_CHECK_TYPE_WITH_HEADERS): Use quotes around tr arguments to prevent shell substitutions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17881 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 2 ++ src/aclocal.m4 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 0789acaa0..acebdf25f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 8001a9345..27f0ad6f8 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -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 -- 2.26.2