From: Ken Raeburn Date: Thu, 28 Mar 2002 06:00:05 +0000 (+0000) Subject: * aclocal.m4 (TRY_GETSOCK_INT): Strip trailing spaces from defined macros X-Git-Tag: krb5-1.3-alpha1~813 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c7d221ca9d90d872339715135b015f4a9793e356;p=krb5.git * aclocal.m4 (TRY_GETSOCK_INT): Strip trailing spaces from defined macros git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14298 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ChangeLog b/src/ChangeLog index 190700503..7e3330cc9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-03-28 Ken Raeburn + + * aclocal.m4 (TRY_GETSOCK_INT): Strip trailing spaces from defined + macros. + 2001-11-19 Danilo Almeida * Makefile.in: Fix up lib/crypto/yarrow for Windows. diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 240bb1f1b..2792b3745 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1371,8 +1371,8 @@ extern int getsockname(int, $1, $2); if eval "test \"`echo '$krb5_cv_getsockname_proto_'$krb5_lib_var`\" = yes"; then AC_MSG_RESULT(yes) sock_set=yes - res1=`echo "$1" | tr -d '*'` - res2=`echo "$2" | tr -d '*'` + res1=`echo "$1" | tr -d '*' | sed -e 's/ *$//'` + res2=`echo "$2" | tr -d '*' | sed -e 's/ *$//'` AC_DEFINE_UNQUOTED([GETSOCKNAME_ARG2_TYPE],$res1) AC_DEFINE_UNQUOTED([GETSOCKNAME_ARG3_TYPE],$res2) else