303bdf
--- autoconf-2.13/Makefile.in.rh1	2007-02-14 16:22:52.000000000 +0100
303bdf
+++ autoconf-2.13/Makefile.in	2007-02-14 16:23:26.000000000 +0100
303bdf
@@ -137,23 +137,23 @@
303bdf
 	cd testsuite && ${MAKE} AUTOCONF=${bindir}/autoconf $@
303bdf
 
303bdf
 installdirs:
303bdf
-	$(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(acdatadir)
303bdf
+	$(SHELL) ${srcdir}/mkinstalldirs $(DESTDIR)/$(bindir) $(DESTDIR)/$(infodir) $(DESTDIR)/$(acdatadir)
303bdf
 
303bdf
 install: all $(M4FILES) acconfig.h installdirs install-info
303bdf
 	for p in $(ASCRIPTS); do \
303bdf
-	  $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
303bdf
+	  $(INSTALL_PROGRAM) $$p $(DESTDIR)/$(bindir)/`echo $$p|sed '$(transform)'`; \
303bdf
 	done
303bdf
 	for i in $(M4FROZEN); do \
303bdf
-	  $(INSTALL_DATA) $$i $(acdatadir)/$$i; \
303bdf
+	  $(INSTALL_DATA) $$i $(DESTDIR)/$(acdatadir)/$$i; \
303bdf
 	done
303bdf
 	for i in $(M4FILES) acconfig.h; do \
303bdf
-	  $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
303bdf
+	  $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)/$(acdatadir)/$$i; \
303bdf
 	done
303bdf
 	-if test -f autoscan; then \
303bdf
-	$(INSTALL_PROGRAM) autoscan $(bindir)/`echo autoscan|sed '$(transform)'`; \
303bdf
+	$(INSTALL_PROGRAM) autoscan $(DESTDIR)/$(bindir)/`echo autoscan|sed '$(transform)'`; \
303bdf
 	for i in acfunctions acheaders acidentifiers acprograms \
303bdf
 	  acmakevars; do \
303bdf
-	$(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
303bdf
+	$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)/$(acdatadir)/$$i; \
303bdf
 	done; \
303bdf
 	else :; fi
303bdf
 
303bdf
@@ -161,11 +161,11 @@
303bdf
 install-info: info installdirs
303bdf
 	if test -f autoconf.info; then \
303bdf
 	  for i in *.info*; do \
303bdf
-	    $(INSTALL_DATA) $$i $(infodir)/$$i; \
303bdf
+	    $(INSTALL_DATA) $$i $(DESTDIR)/$(infodir)/$$i; \
303bdf
 	  done; \
303bdf
 	else \
303bdf
 	  for i in $(srcdir)/*.info*; do \
303bdf
-	    $(INSTALL_DATA) $$i $(infodir)/`echo $$i | sed 's|^$(srcdir)/||'`; \
303bdf
+	    $(INSTALL_DATA) $$i $(DESTDIR)/$(infodir)/`echo $$i | sed 's|^$(srcdir)/||'`; \
303bdf
 	  done; \
303bdf
 	fi
303bdf