Added -l prefix to EXTRA_COMPONENTS when generating pkg-config file
changed foreach variable to match naming conventions and dropped intermediate variable, appending directly to the LIB_COMPONENTS list
Only append -l to lib entries with no path and no -l or -L of their own
shortened code to not repeat myself
added backslash
Change intrinsic camera matrix initialization

In the function cvInitIntrinsicParams2D the principal point for
normalized image coordinates is set to 0/0. This updates the function
to initialize the principal point at 0.5/0.5.
fixed wrong regex
1. Let btvRegWeights to be constant per `process` call.
2. Let Farneback to be the default optical flow method.
3. Fix a timing method bug for ocl path.
4. Remove useless finish operation in farneback
5. Refactor buffer usage.
regex doesnt need to match full length of input, so only trying to match the leading -[lL]
ocl: workaround for ProgramCache cleanup issue, use RAII to print kernel build error
ocl: fix FFT initialization
OpenCL examples refactoring
Merge pull request #1658 from alalek:ocl_fixes
Fixed incorrectly unprefixed constant names in the OpenNI tutorial.

Bug report: http://code.opencv.org/issues/3329
Add better OpenMP detection and make an option to enable it.

Bug report and inspiration: http://code.opencv.org/issues/3328
Merge pull request #1666 from SpecLad:cv-cap-openni
Merge pull request #1649 from asandwhich:2.4
Merge pull request #1659 from ilya-lavrenov:ocl_examples
workaround for cv::multiply bug
moved to relative errors in ocl::norm tests