summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYi Sun <yi.sun@intel.com>2015-03-20 13:42:11 +0800
committerYi Sun <yi.sun@intel.com>2015-03-20 13:42:11 +0800
commita9039099f4c7e67d4ab9e6523d90ab2caea907b1 (patch)
tree172e05dcc86ac6a0182fdd1b4bbbd75f5961c2b8
parent222d963e003a7e863b6f7b923174de4081a878ab (diff)
Add a script used to load configure with some arguments.HEADmaster
Signed-off-by: Yi Sun <yi.sun@intel.com>
-rwxr-xr-xsrc/autogen.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/autogen.sh b/src/autogen.sh
new file mode 100755
index 0000000..c958108
--- /dev/null
+++ b/src/autogen.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+####################
+## Include file for OpenCV
+CPPFLAGS='-I/usr/include/opencv'
+
+####################
+## Libraries for OpenCV
+LDFLAGS='-L/usr/lib64/'
+
+####################
+## This is temporary way
+## Error dump if without this
+CXXFLAGS='-fpermissive'
+
+./configure CPPFLAGS='-I/usr/include/opencv' CXXFLAGS='-fpermissive' LDFLAGS='-L/usr/lib64/'