unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* Patch for guile-readline/Makefile.am
@ 2004-05-02  9:46 Andreas Vögele
  2004-05-02 23:46 ` Kevin Ryde
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Vögele @ 2004-05-02  9:46 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 352 bytes --]

Here's a patch for guile-readline/Makefile.am that creates the link to 
readline.scm in a portable way. In addition to the patch, the macro 
AC_PROG_LN_S has to be added to guile-readline/configure.in.

There's a section called "When Automake Isn't Enough->Extending 
Automake Rules" in the Automake manual that shows how to create links 
portably.




[-- Attachment #2: Makefile.am.diff --]
[-- Type: application/octet-stream, Size: 493 bytes --]

Index: Makefile.am
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/guile-readline/Makefile.am,v
retrieving revision 1.23
diff -u -r1.23 Makefile.am
--- Makefile.am	9 Feb 2004 01:48:33 -0000	1.23
+++ Makefile.am	2 May 2004 09:36:23 -0000
@@ -61,7 +61,7 @@
 	-rm ice-9/readline.scm
 	-rmdir ice-9
 	mkdir ice-9
-	cd ice-9 && ln -s ../readline.scm
+	cd ice-9 && $(LN_S) ../readline.scm readline.scm
 
 all-local: ice-9/readline.scm
 

[-- Attachment #3: Type: text/plain, Size: 136 bytes --]

_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-22  5:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-02  9:46 Patch for guile-readline/Makefile.am Andreas Vögele
2004-05-02 23:46 ` Kevin Ryde
2004-06-22  5:08   ` Rob Browning

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).