bug-automake
[Top][All Lists]
Advanced

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

automake 1.6.2 and cygpath


From: Andreas Buening
Subject: automake 1.6.2 and cygpath
Date: Sat, 22 Jun 2002 21:04:01 +0200

Hello!

If automake encounters .obj object files it wants to use cygpath
in the .c.obj: Makefile rule. I guess, cygpath is a cygwin tool.
However, OS/2 also supports .obj object files but has no cygpath.
For the moment I solved it by removing cygpath as you can see below,
but it doesn't look like a final solution. ;-)


---------------------------
--- old/automake-1.6.2/lib/am/depend2.am        Tue Mar 26 09:24:52 2002
+++ gnu/automake-1.6.2/lib/am/depend2.am        Sat Jun 22 18:26:26 2002
@@ -47,8 +47,10 @@
        depfile='%DEPBASE%.Po' tmpdepfile='%DEPBASE%.TPo' @AMDEPBACKSLASH@
        $(%FPFX%DEPMODE) $(depcomp) @AMDEPBACKSLASH@
 endif %AMDEP%
-?-o?   %COMPILE% %-c% %-o% %OBJOBJ% `cygpath -w %SOURCE%`
-?!-o?  %COMPILE% %-c% `cygpath -w %SOURCE%`
+#?-o?  %COMPILE% %-c% %-o% %OBJOBJ% `cygpath -w %SOURCE%`
+#?!-o? %COMPILE% %-c% `cygpath -w %SOURCE%`
+?-o?   %COMPILE% %-c% %-o% %OBJOBJ% `test -f '%SOURCE%' || echo 
'$(srcdir)/'`%SOURCE%
+?!-o?  %COMPILE% %-c% `test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE%

 if %?LIBTOOL%
 ?GENERIC?%EXT%.lo:
---------------------------

bye,
Andreas



reply via email to

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