File autoconf-2.59-shave-fix.diff of Package xsp
--- xsp-3.0/build/m4/shave/shave.m4 2012-08-23 17:04:47.000000000 +0200
+++ xsp-3.0/build/m4/shave/shave.m4.new 2012-11-21 15:24:25.078512848 +0100
@@ -55,8 +55,8 @@
if test x"$enable_shave" = xyes; then
dnl where can we find the shave scripts?
m4_if([$1],,
- [shavedir="$ac_pwd"],
- [shavedir="$ac_pwd/$1"])
+ [shavedir="`pwd`"],
+ [shavedir="`pwd`/$1"])
AC_SUBST(shavedir)
dnl make is now quiet