You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ma...@apache.org on 2012/03/24 23:28:15 UTC

svn commit: r1304948 - in /hadoop/common/branches/branch-1.0.2: CHANGES.txt build.xml src/native/configure

Author: mattf
Date: Sat Mar 24 22:28:14 2012
New Revision: 1304948

URL: http://svn.apache.org/viewvc?rev=1304948&view=rev
Log:
HADOOP-8201. create the configure script for native compilation as part of the build. Contributed by Giri Kesavan.

Removed:
    hadoop/common/branches/branch-1.0.2/src/native/configure
Modified:
    hadoop/common/branches/branch-1.0.2/CHANGES.txt
    hadoop/common/branches/branch-1.0.2/build.xml

Modified: hadoop/common/branches/branch-1.0.2/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1.0.2/CHANGES.txt?rev=1304948&r1=1304947&r2=1304948&view=diff
==============================================================================
--- hadoop/common/branches/branch-1.0.2/CHANGES.txt (original)
+++ hadoop/common/branches/branch-1.0.2/CHANGES.txt Sat Mar 24 22:28:14 2012
@@ -60,6 +60,9 @@ Release 1.0.2 - 2012.03.18
     HADOOP-8132. 64bit secure datanodes do not start as the jsvc path is wrong
     (Arpit Gupta via mattf)
 
+    HADOOP-8201. create the configure script for native compilation as part of
+    the build (Giri Kesavan via mattf)
+
 Release 1.0.1 - 2012.02.14
 
   NEW FEATURES

Modified: hadoop/common/branches/branch-1.0.2/build.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1.0.2/build.xml?rev=1304948&r1=1304947&r2=1304948&view=diff
==============================================================================
--- hadoop/common/branches/branch-1.0.2/build.xml (original)
+++ hadoop/common/branches/branch-1.0.2/build.xml Sat Mar 24 22:28:14 2012
@@ -609,7 +609,14 @@
     </antcall> 
   </target>
 
-  <target name="compile-core-native" depends="compile-core-classes"
+  <target name="create-native-configure">
+    <exec executable="autoreconf" dir="${native.src.dir}" searchpath="yes" 
+          failonerror="yes">
+       <arg value="-if"/>
+    </exec>
+  </target>
+
+  <target name="compile-core-native" depends="create-native-configure, compile-core-classes"
           if="compile.native">
   	
     <mkdir dir="${build.native}/lib"/>