<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -18,6 +18,10 @@ function getcompiler
     if [ $(expr match &quot;$arg&quot; &quot;CXX=&quot;) != 0 ]; then
 	CMAKE_CXX=&quot;$arg&quot;
     fi
+    if [ $(expr match &quot;$arg&quot; &quot;--prefix=&quot;) != 0 ]; then
+	CMAKE_PREFIX=&quot;${arg:9}&quot;
+	CMAKE_ARGS=&quot;$CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=$CMAKE_PREFIX -DOROCOS_INSTALL=$CMAKE_PREFIX&quot;
+    fi
 }
 
 while [ &quot;$1&quot; != &quot;&quot; ]; do
@@ -50,8 +54,8 @@ if [ x$(which cmake) == x ]; then
    exit 1
 fi
 
-echo &quot;Invoking: 'CC=$CMAKE_CC CXX=$CMAKE_CXX cmake ..'&quot;
+echo &quot;Invoking: 'CC=$CMAKE_CC CXX=$CMAKE_CXX cmake .. $CMAKE_ARGS'&quot;
 
-bash -c &quot;$CMAKE_CC $CMAKE_CXX cmake ..&quot; || (echo &quot;Error: cmake produced an error.&quot;; exit 1)
+bash -c &quot;$CMAKE_CC $CMAKE_CXX cmake .. $CMAKE_ARGS&quot; || (echo &quot;Error: cmake produced an error.&quot;; exit 1)
 
 echo &quot;OK: configure done.&quot;</diff>
      <filename>configure</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0247c806cca9c27b51e95691278bc7d8d510a21a</id>
    </parent>
  </parents>
  <author>
    <name>psoetens</name>
    <email>psoetens@ce417995-dfc9-0310-95a0-acdaff106893</email>
  </author>
  <url>http://github.com/doudou/orocos-ocl/commit/ff28668e9e73e962d69e7346cbc43c5bedbfe434</url>
  <id>ff28668e9e73e962d69e7346cbc43c5bedbfe434</id>
  <committed-date>2007-06-22T05:54:16-07:00</committed-date>
  <authored-date>2007-06-22T05:54:16-07:00</authored-date>
  <message>Add --prefix to OCL configure wrapper script.

git-svn-id: https://svn.mech.kuleuven.be/repos/orocos/trunk/ocl@28357 ce417995-dfc9-0310-95a0-acdaff106893</message>
  <tree>2e142bcc69657de31520564e112f191f663f4d69</tree>
  <committer>
    <name>psoetens</name>
    <email>psoetens@ce417995-dfc9-0310-95a0-acdaff106893</email>
  </committer>
</commit>
