From: Ken Raeburn Date: Fri, 5 Apr 2002 23:37:17 +0000 (+0000) Subject: * aclocal.m4 (TRY_PEER_INT): Strip trailing spaces from defined macros X-Git-Tag: krb5-1.3-alpha1~794 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3f4e253769640216b38cd72c3c48673bdc585af7;p=krb5.git * aclocal.m4 (TRY_PEER_INT): Strip trailing spaces from defined macros git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14360 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ChangeLog b/src/ChangeLog index 44d6a2ec9..834cbc0ca 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-04-05 Ken Raeburn + + * aclocal.m4 (TRY_PEER_INT): Strip trailing spaces from defined + macros. + 2002-04-02 Tom Yu * Makefile.in (install-strip): New rule to pass "-s" to install. diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 5a8b0951d..7896a3bb6 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1332,8 +1332,8 @@ extern int getpeername(int, $1, $2); if eval "test \"`echo '$krb5_cv_getpeername_proto'$krb5_lib_var`\" = yes"; then AC_MSG_RESULT(yes) peer_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([GETPEERNAME_ARG2_TYPE],$res1) AC_DEFINE_UNQUOTED([GETPEERNAME_ARG3_TYPE],$res2) else