You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2007/12/26 22:41:10 UTC
svn commit: r606956 - in /apr/apr-util/trunk: Makefile.win test/Makefile.win
Author: wrowe
Date: Wed Dec 26 13:41:10 2007
New Revision: 606956
URL: http://svn.apache.org/viewvc?rev=606956&view=rev
Log:
win32 find.exe != bsd/gnu find, and we want the native flavor.
This fails on ancient OS's, but then again, ancient flavors won't
be compiling to x64.
Modified:
apr/apr-util/trunk/Makefile.win
apr/apr-util/trunk/test/Makefile.win
Modified: apr/apr-util/trunk/Makefile.win
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/Makefile.win?rev=606956&r1=606955&r2=606956&view=diff
==============================================================================
--- apr/apr-util/trunk/Makefile.win (original)
+++ apr/apr-util/trunk/Makefile.win Wed Dec 26 13:41:10 2007
@@ -54,7 +54,8 @@
PREFIX=..\apr-dist
-!IF [$(COMSPEC) /c cl /nologo /? | find "x64" >NUL ] == 0
+!IF [$(COMSPEC) /c cl /nologo /? \
+ | $(SystemRoot)\System32\find.exe "x64" >NUL ] == 0
ARCH=x64 Release
!ELSE
ARCH=Win32 Release
Modified: apr/apr-util/trunk/test/Makefile.win
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/test/Makefile.win?rev=606956&r1=606955&r2=606956&view=diff
==============================================================================
--- apr/apr-util/trunk/test/Makefile.win (original)
+++ apr/apr-util/trunk/test/Makefile.win Wed Dec 26 13:41:10 2007
@@ -31,7 +31,8 @@
OUTDIR=Release
!ENDIF
-!IF [$(COMSPEC) /c cl /nologo /? | find "x64" >NUL ] == 0
+!IF [$(COMSPEC) /c cl /nologo /? \
+ | $(SystemRoot)\System32\find.exe "x64" >NUL ] == 0
OUTDIR=x64\$(OUTDIR)
!ENDIF
!ENDIF