* aclocal.m4 (TRY_GETSOCK_INT): Strip trailing spaces from defined macros
authorKen Raeburn <raeburn@mit.edu>
Thu, 28 Mar 2002 06:00:05 +0000 (06:00 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 28 Mar 2002 06:00:05 +0000 (06:00 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14298 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4

index 1907005031ffda1bd087572e7acf07a2b980901f..7e3330cc9e6f62127faeb7ad02f41cdb247e18a0 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-28  Ken Raeburn  <raeburn@mit.edu>
+
+       * aclocal.m4 (TRY_GETSOCK_INT): Strip trailing spaces from defined
+       macros.
+
 2001-11-19  Danilo Almeida  <dalmeida@mit.edu>
 
        * Makefile.in: Fix up lib/crypto/yarrow for Windows.
index 240bb1f1b16c0878e0001bd0949fe10664fc283e..2792b3745a4778d18696e670d186f29e84e31fda 100644 (file)
@@ -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