# The top-level source directory, also set by configure.
top_srcdir=@top_srcdir@
-abs_top_srcdir=@abs_top_srcdir@ # MinGW CPPFLAGS may use this
+# MinGW CPPFLAGS may use this.
+abs_top_srcdir=@abs_top_srcdir@
# ==================== Emacs-specific directories ====================
@echo
@echo "Installing utilities run internally by Emacs."
umask 022; ${MKDIR_P} "$(DESTDIR)${archlibdir}"
- if [ "`cd \"$(DESTDIR)${archlibdir}\" && /bin/pwd`" != "`/bin/pwd`" ]; then \
+ exp_archlibdir=`cd "$(DESTDIR)${archlibdir}" && /bin/pwd`; \
+ if [ "$$exp_archlibdir" != "`/bin/pwd`" ]; then \
for file in ${UTILITIES}; do \
$(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file "$(DESTDIR)${archlibdir}/$$file" ; \
done ; \