You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ge...@apache.org on 2006/06/19 22:20:48 UTC
svn commit: r415405 -
/incubator/harmony/enhanced/drlvm/trunk/build/make/components/extra/apr.xml
Author: geirm
Date: Mon Jun 19 13:20:48 2006
New Revision: 415405
URL: http://svn.apache.org/viewvc?rev=415405&view=rev
Log:
switch to just use the standard APR build
Modified:
incubator/harmony/enhanced/drlvm/trunk/build/make/components/extra/apr.xml
Modified: incubator/harmony/enhanced/drlvm/trunk/build/make/components/extra/apr.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/build/make/components/extra/apr.xml?rev=415405&r1=415404&r2=415405&view=diff
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/build/make/components/extra/apr.xml (original)
+++ incubator/harmony/enhanced/drlvm/trunk/build/make/components/extra/apr.xml Mon Jun 19 13:20:48 2006
@@ -59,14 +59,13 @@
<target name="apr-configure" unless="apr-config-available">
<select os="lnx">
- <exec executable="sh" dir="${src}">
+
+<!-- <exec executable="sh" dir="${src}">
<arg value="./buildconf" />
</exec>
-
+-->
<exec executable="sh" dir="${src}">
<arg value="./configure" />
- <arg value="CXX=${build.cxx}" />
- <arg value="CC=${build.cxx}" />
</exec>
<replaceregexp file="${includes.apr}/apr.h" match="#define APR_HAS_OS_UUID 1" replace="#define APR_HAS_OS_UUID 0" />
@@ -86,6 +85,18 @@
<property name="outtype" value="static" />
<select os="lnx">
+
+ <!-- simply invoke make to let it build as the APR people suggest -->
+ <!-- we'll need to tune this wrt flags and such -->
+
+ <exec executable="make" dir="${src}"/>
+
+ <!-- the rest of the build expect the lib to be in _bin -->
+
+ <copy file="${src}/.libs/lib${libname}.a" todir="${src}/../_bin" />
+
+ <!-- this is the original build approach - leaving here for now
+
<compiler id="c.compiler" extends="common.c.compiler">
<includepath path="${src}/include" />
<includepath path="${src}/include/arch" />
@@ -99,7 +110,6 @@
<fileset dir="${src}/file_io/unix" includes="copy.c fileacc.c filepath_util.c fullrw.c mktemp.c tempdir.c" />
<fileset dir="${src}/memory/unix" includes="*.c" />
<fileset dir="${src}/misc/unix" includes="*.c" />
- <!-- <fileset dir="${src}/misc/unix" includes="errorcodes.c getopt.c otherchild.c version.c" /> -->
<fileset dir="${src}/mmap/unix" includes="common.c" />
<fileset dir="${src}/network_io/unix" includes="inet_ntop.c inet_pton.c sockaddr.c" />
<fileset dir="${src}/poll/unix" includes="select.c" />
@@ -115,6 +125,7 @@
<compilerarg value="-fPIC" />
</select>
</compiler>
+ -->
</select>
<select os="win">
<compiler id="c.compiler" extends="common.c.compiler">