From 613cea32337f25a9e254f2ffc7f0172d50927fe2 Mon Sep 17 00:00:00 2001
From: "Mirar (Pontus Hagland)" <pike@sort.mirar.org>
Date: Fri, 17 Apr 1998 23:53:21 +0200
Subject: [PATCH] bugfix (don't complain about now_in_share stuff if share and
 lib are the same)

Rev: src/Makefile.in:1.77
---
 src/Makefile.in | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/Makefile.in b/src/Makefile.in
index cbbf323f03..fa8bc259e5 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -1,5 +1,5 @@
 #
-# $Id: Makefile.in,v 1.76 1998/04/17 21:15:02 mirar Exp $
+# $Id: Makefile.in,v 1.77 1998/04/17 21:53:21 mirar Exp $
 #
 
 # This line is needed on some machines.
@@ -255,8 +255,10 @@ install:
 	      mv -f "$(share_prefix)/$$f" "$(share_prefix)/$$f.old"; \
 	    else : ; fi; \
 	    if [ -f "$(lib_prefix)/$$f" ]; then \
-	      mv -f "$(lib_prefix)/$$f" "$(lib_prefix)/$$f.now_in_share.old"; \
-	    else : ; fi; \
+              if test "x$(lib_prefix)" != "x$(share_prefix)"; then \
+	        mv -f "$(lib_prefix)/$$f" "$(lib_prefix)/$$f.now_in_share.old"; \
+	      else : ; fi; \
+            else : ; fi; \
 	    cp "$(LIBDIR_SRC)/$$f" "$(share_prefix)/$$f" || exit 1; \
 	    chmod a+r "$(share_prefix)/$$f"; \
 	    chmod u+w "$(share_prefix)/$$f"; \
-- 
GitLab