automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_PROG_CC_C_O doesn't work with VC++


From: Harald Dunkel
Subject: Re: AC_PROG_CC_C_O doesn't work with VC++
Date: Thu, 27 Oct 2005 12:07:59 +0200
User-agent: Debian Thunderbird 1.0.2 (X11/20050402)

Hi folks,

Stepan Kasal wrote:
> 
> I committed the patch attached to this mail.
> 

Could you please apply the attached patch as well? It is
necessary on Windows to detect '\' as a directory path
separator.


Many thanx

Harri
--- compile~    2005-10-24 12:03:48.000000000 +0200
+++ compile     2005-10-26 13:46:47.000000000 +0200
@@ -103,7 +103,7 @@
 fi
 
 # Name of file we expect compiler to create.
-cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
+cofile=`echo "$cfile" | sed -e 's|^.*[/\\]||' -e 's/\.c$/.o/'`
 
 # Create the lock directory.
 # Note: use `[/.-]' here to ensure that we don't use the same name

reply via email to

[Prev in Thread] Current Thread [Next in Thread]