[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r13115 - trunk/build/ac-macros

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-03-08 02:49:34 CET

"Max Bowsher" <maxb@ukf.net> writes:

> Philip Martin wrote:
>> If Cygwin needs the exec then please make it Cygwin specific and don't
>> impose it on the rest of us.
>
> Fair enough, but please note that Cygwin doesn't perform this
> absolutification, so this is the first I've heard about it. Will
> conditionalize.

I don't have cygwin to verify it, but I'm currently using this:

Index: build/ac-macros/svn-macros.m4
===================================================================
--- build/ac-macros/svn-macros.m4 (revision 13300)
+++ build/ac-macros/svn-macros.m4 (working copy)
@@ -17,7 +17,15 @@
 
 EOF
 
- echo "exec \"[$]0\" \\" >> $1
+ case $host in
+ *-*-cygwin*)
+ EXEC_HACK="exec "
+ ;;
+ *)
+ EXEC_HACK=
+ ;;
+ esac
+ echo "$EXEC_HACK\"[$]0\" \\" >> $1
   for arg in "[$]@"; do
     case $arg in
       --no-create) ;;

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 8 02:50:45 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.