Patch provided by Lee Iverson <leei@ai.sri.com> unlabeled-1.4.2.2.4
authorcls%seawood.org
Tue, 21 Sep 1999 19:55:00 +0000
branchunlabeled-1.4.2.2.4
changeset 828 a7c6d470a76d247d8040c76700c3ae40ed6afe2b
parent 726 aaf416529e0614aa59bded6e456860d388eae9ce
push idunknown
push userunknown
push dateunknown
Patch provided by Lee Iverson <leei@ai.sri.com> Ensure that unmodified include files & symlinks are not modified. Added --disable-shared option. Resurrect use of OS_LIBS & EXTRA_LIBS. Add check for -ldl. Added nsprincl.sh & nsprincl.mk to build.
pr/include/md/Makefile.in
--- a/pr/include/md/Makefile.in
+++ b/pr/include/md/Makefile.in
@@ -155,17 +155,22 @@ endif # ! USE_AUTOCONF
 
 export:: #$(MDCPUCFG_H)
 	$(INSTALL) -m 444 $(CONFIGS) $(DIST)/include/md
 #ifeq ($(MOZ_BITS),16)
 #	cp $(DIST)/include/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h
 #	$(INSTALL) -m 444 $(MDCPUCFG_H) $(MOZ_INCL)
 #	mv -f $(DIST)/include/$(MDCPUCFG_H) $(MOZ_INCL)/prcpucfg.h
 #else
-	cp -f $(srcdir)/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h
+	@if cmp -s $(srcdir)/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h; then \
+	  echo $(DIST)/include/prcpucfg.h unchanged; \
+	else \
+	  echo cp -f $(srcdir)/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h; \
+	  cp -f $(srcdir)/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h; \
+	fi
 #endif
 ifeq ($(OS_ARCH),OpenVMS)
 # mv'ing a link causes the file itself to move, not the link, so fix it.
 	rm -f $(DIST)/include/$(MDCPUCFG_H)
 	if [ ! -L $(DIST)/include/prcpucfg.h ]; then \
 	  mv -f $(DIST)/include/prcpucfg.h $(MDCPUCFG_H); \
 	  ln -fs ../../../nsprpub/pr/include/md/$(MDCPUCFG_H) \
 	    $(DIST)/include/prcpucfg.h; \