YOUNG-SUK LEE committed e388976

temporary ruby script to create bin files

Comments (0)

Files changed (4)

+require 'pp'
+tool_dirs = Dir.glob("tools/*/")
+tools ={|dir| [dir.split("/")[-1], dir] }
+tools.each do |tool, dir|
+#  pp Dir.pwd+dir
+#  pp tool
+  `ln -s #{Dir.pwd}/#{dir}/#{tool} bin/#{tool}`
          elif test "x$with_libsvm" != "xno"; then
            qualify_path with_libsvm
-           LOCAL_CHECK_APPEND_PATHS([$with_libsvm], [. include], [svm.h], [LIBSVM_INCLUDE_DIR], [libsvm_state=warn])
+           LOCAL_CHECK_APPEND_PATHS([$with_libsvm], [. include], [libsvm/svm.h], [LIBSVM_INCLUDE_DIR], [libsvm_state=warn])
            LOCAL_CHECK_APPEND_PATHS([$with_libsvm], [. lib], [liblibsvm.a], [LIBSVM_LIB_DIR], [libsvm_state=warn])
         [],                                                       dnl requested without
          #include <sys/types.h>
-         #include "svm.h"],
+         #include "libsvm/svm.h"],
 ## LOCAL_CHECK_LIB(1 lib name, 2 local name, 3 function,
 if test "x$libsvm_state" = "xwarn"; then
   cat << EOF
 ** WARNING: The path to LibSVM may be incorrect.
-I looked for  libsvm.a and did not
-find. NOTE: You may need to make liblibsvm.a.
+I looked for  liblibsvm.a and did not
+find.  You may need to make liblibsvm.a.
-ar rcs liblibsvm.a *.o
+ar rcs liblibsvm.a libsvm/*.o
 See the README.
   extern "C" {
 #define class Class2
-#include <svm.h>
+#include <libsvm/svm.h>
 #undef class
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.