[SCM] GNU Mailutils branch, master, updated. mu-1-2-90-separate-argp-cfg-336-g496bdf7

"Sergey Poznyakoff" <[email protected]>
Newsgroups gmane.comp.gnu.mailutils.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mailutils".

http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=496bdf7228403ee3e571280891e76e7cb5fd7ca7

The branch, master has been updated
       via  496bdf7228403ee3e571280891e76e7cb5fd7ca7 (commit)
      from  3bacf09e35159982a35f0e30a13cc1771c95da90 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 496bdf7228403ee3e571280891e76e7cb5fd7ca7
Author: Sergey Poznyakoff <[email protected]>
Date:   Fri Aug 28 09:38:18 2009 +0300

    Minor fix
    
    * libmu_scm/Makefile.am (install-data-hook): Make sure
    libguile-mailutils links to the versioned .so file.

-----------------------------------------------------------------------

Summary of changes:
 libmu_scm/Makefile.am |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/libmu_scm/Makefile.am b/libmu_scm/Makefile.am
index 5d7185b..2c4c5ed 100644
--- a/libmu_scm/Makefile.am
+++ b/libmu_scm/Makefile.am
@@ -128,10 +128,12 @@ mailutils.scm: mailutils.scm.in $(C_SRCS:.c=.inc)
 MKDEP = $(CC) -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
 
 install-data-hook:
-	@here=`pwd`; \
+	 @here=`pwd`; \
 	 cd $(DESTDIR)$(libdir);\
-	 if test -f libmu_scm.so; then \
-		$(LN_S) -f libmu_scm.so libguile-mailutils-v-$(VERSION).so; \
+	 if test -f libmu_scm.la; then \
+		dlname=`sed -n 's/dlname='\''\(.*\)'\''/\1/p' libmu_scm.la`; \
+		test -z "$dlname" && dlname='libmu_scm.so'; \
+		$(LN_S) -f "$$dlname" libguile-mailutils-v-$(VERSION).so; \
 	 fi; \
 	 cd $$here
 


hooks/post-receive
-- 
GNU Mailutils
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.