remove extra slashes from end of srcdir

This commit is contained in:
David MacKenzie 1994-09-26 03:02:30 +00:00
parent e21e262b4c
commit 74cc3753fc
2 changed files with 10 additions and 0 deletions

View File

@ -519,6 +519,11 @@ if test ! -r $srcdir/$ac_unique_file; then
AC_MSG_ERROR(can not find sources in $srcdir)
fi
fi
dnl Double slashes in pathnames in object file debugging info
dnl mess up M-x gdb in Emacs.
changequote(, )dnl
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
changequote([, ])dnl
dnl Let the site file select an alternate cache file if it wants to.
AC_SITE_LOAD

View File

@ -519,6 +519,11 @@ if test ! -r $srcdir/$ac_unique_file; then
AC_MSG_ERROR(can not find sources in $srcdir)
fi
fi
dnl Double slashes in pathnames in object file debugging info
dnl mess up M-x gdb in Emacs.
changequote(, )dnl
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
changequote([, ])dnl
dnl Let the site file select an alternate cache file if it wants to.
AC_SITE_LOAD