blob: e98ad18d4c047ab2b66470d6eb52f1ffb9b61fd5 [file] [log] [blame]
Wind Yuan75564b12015-01-15 06:51:15 -05001# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
Wind Yuan1db33002017-04-06 01:47:52 -04004m4_define([xcam_major_version], [1])
Wind Yuan4db04762017-07-31 10:57:12 +08005m4_define([xcam_minor_version], [1])
Wind Yuan2f6d8b52016-09-29 03:37:53 -04006m4_define([xcam_micro_version], [0])
Wind Yuan67533742015-01-16 17:19:05 +08007m4_define([xcam_version], [xcam_major_version.xcam_minor_version.xcam_micro_version])
Wind Yuan75564b12015-01-15 06:51:15 -05008
9AC_PREREQ([2.60])
10AC_CONFIG_MACRO_DIR([m4])
11AC_INIT([libxcam], [xcam_version], [feng.yuan@intel.com], [libxcam])
12AC_CONFIG_HEADERS([config.h])
Yinhang Liu86f627c2017-11-20 18:48:21 +080013AM_INIT_AUTOMAKE([foreign subdir-objects])
Wind Yuan75564b12015-01-15 06:51:15 -050014
Wind Yuan67533742015-01-16 17:19:05 +080015#xcam version
16XCAM_MAJOR_VERSION=xcam_major_version
17XCAM_MINOR_VERSION=xcam_minor_version
18XCAM_MICRO_VERSION=xcam_micro_version
19XCAM_VERSION=xcam_version
20XCAM_VERSION_HEX="0x$XCAM_MAJOR_VERSION$XCAM_MINOR_VERSION$XCAM_MICRO_VERSION"
21AC_DEFINE_UNQUOTED(XCAM_VERSION, $XCAM_VERSION_HEX,
22 [define libxcam version])
23AC_SUBST(XCAM_VERSION)
24
Yinhang Liud8262842017-03-01 13:16:50 +080025XCAM_LT_VERSION="xcam_major_version:xcam_minor_version:xcam_micro_version"
26XCAM_LT_LDFLAGS="-version-number $XCAM_LT_VERSION"
27AC_SUBST(XCAM_LT_VERSION)
28AC_SUBST(XCAM_LT_LDFLAGS)
29
Wind Yuan75564b12015-01-15 06:51:15 -050030# Checks for programs.
31AC_PROG_CC
32AC_PROG_CXX
33AC_PROG_INSTALL
Yinhang Liudada3e72017-09-30 10:14:02 +080034PKG_PROG_PKG_CONFIG
Wind Yuan75564b12015-01-15 06:51:15 -050035LT_INIT
36
37AC_ARG_ENABLE(debug,
38 AS_HELP_STRING([--enable-debug],
39 [enable debug, @<:@default=no@:>@]),
40 [], [enable_debug="no"])
41AM_CONDITIONAL([DEBUG], [test "$enable_debug" = "yes"])
42
Wind Yuan91625802015-06-24 15:36:01 +080043AC_ARG_ENABLE(profiling,
44 AS_HELP_STRING([--enable-profiling],
45 [enable profiling, @<:@default=no@:>@]),
46 [], [enable_profiling="no"])
47
Wind Yuan75564b12015-01-15 06:51:15 -050048AC_ARG_ENABLE(drm,
49 AS_HELP_STRING([--enable-drm],
Yinhang Liu6987f2b2017-09-30 10:39:58 +080050 [enable drm buffer, @<:@default=no@:>@]),
51 [], [enable_drm="no"])
Wind Yuan75564b12015-01-15 06:51:15 -050052
53AC_ARG_ENABLE([aiq],
54 AS_HELP_STRING([--enable-aiq],
55 [enable Aiq 3A algorithm build, @<:@default=no@:>@]),
56 [], [enable_aiq="no"])
57
John Ye3fc8fc42015-03-19 14:41:01 +080058AC_ARG_ENABLE([gst],
59 AS_HELP_STRING([--enable-gst],
60 [enable gstreamer plugin build, @<:@default=no@:>@]),
61 [], [enable_gst="no"])
62
Wind Yuan4009d6c2015-02-10 18:09:48 +080063AC_ARG_ENABLE(libcl,
64 AS_HELP_STRING([--enable-libcl],
Yinhang Liu72ca7c72017-02-21 18:38:09 +080065 [enable libcl image processor, @<:@default=yes@:>@]),
66 [], [enable_libcl="yes"])
Wind Yuan4009d6c2015-02-10 18:09:48 +080067
Yinhang Liu8034ce12016-12-20 15:30:49 +080068AC_ARG_ENABLE(opencv,
69 AS_HELP_STRING([--enable-opencv],
70 [enable opencv library, @<:@default=no@:>@]),
71 [], [enable_opencv="no"])
72
Wind Yuanf2b7a8a2017-03-07 06:29:00 -050073AC_ARG_ENABLE(capi,
74 AS_HELP_STRING([--enable-capi],
75 [enable libxcam-capi library, @<:@default=yes@:>@]),
76 [], [enable_capi="yes"])
77
Wind Yuan75564b12015-01-15 06:51:15 -050078# documentation
79AC_ARG_ENABLE(docs,
80 [AC_HELP_STRING([--enable-docs],
81 [build Doxygen documentation @<:@default=no@:>@])],
82 [], [enable_docs="no"])
83
Wind Yuan8ba2f162015-05-04 14:51:07 +080084AC_ARG_ENABLE([3alib],
85 AS_HELP_STRING([--enable-3alib],
86 [enable 3A lib build, @<:@default=no@:>@]),
87 [], [enable_3alib="no"])
88
zongwave03954a32015-09-22 15:40:44 +080089AC_ARG_ENABLE([smartlib],
90 AS_HELP_STRING([--enable-smartlib],
91 [enable smart analysis lib build, @<:@default=no@:>@]),
92 [], [enable_smartlib="no"])
93
Wind Yuan75564b12015-01-15 06:51:15 -050094# Check for Doxygen
95if test "$enable_docs" = "yes"; then
96 AC_CHECK_TOOL([DOXYGEN], [doxygen], [no])
97 if test "$DOXYGEN" = "no"; then
98 enable_docs="no"
99 fi
100fi
101AM_CONDITIONAL(ENABLE_DOCS, test "$enable_docs" = "yes")
102
Wind Yuan91625802015-06-24 15:36:01 +0800103# check profiling
104ENABLE_PROFILING=0
105if test "$enable_profiling" = "yes"; then
106 ENABLE_PROFILING=1
107fi
108
Wind Yuan75564b12015-01-15 06:51:15 -0500109# check drm
110HAVE_LIBDRM=0
111if test "$enable_drm" = "yes"; then
112 PKG_CHECK_MODULES(LIBDRM, [libdrm], [HAVE_LIBDRM=1], [HAVE_LIBDRM=0])
113fi
114
Wind Yuan4009d6c2015-02-10 18:09:48 +0800115# check libcl
116HAVE_LIBCL=0
117if test "$enable_libcl" = "yes"; then
118 PKG_CHECK_MODULES(LIBCL, [libcl], [HAVE_LIBCL=1], [HAVE_LIBCL=0])
119fi
120
zongwave2156baf2016-04-08 16:42:11 +0800121if test "$enable_libcl" = "yes" && test "$HAVE_LIBCL" -eq 0; then
122 PKG_CHECK_MODULES(LIBCL, [OpenCL], [HAVE_LIBCL=1], [HAVE_LIBCL=0])
zongwave2156baf2016-04-08 16:42:11 +0800123fi
124
Yinhang Liua94dd682016-08-12 12:56:47 +0800125if test "$HAVE_LIBCL" -eq 1; then
126 AC_CHECK_PROGS([GAWK], [gawk], [no])
127 if test "x$GAWK" = "xno"; then
128 AC_MSG_ERROR([gawk not found])
129 fi
Yinhang Liu4bd7e362017-08-09 15:56:00 +0800130
Yinhang Liud6566762017-12-18 19:48:53 +0800131 if test "$HAVE_LIBDRM" -eq 1; then
132 HAVE_CL_INTEL_H=1
133 AC_CHECK_HEADERS([CL/cl_intel.h], [HAVE_CL_INTEL_H=1], [HAVE_CL_INTEL_H=0])
134 if test "$HAVE_CL_INTEL_H" -eq 0; then
135 # https://raw.githubusercontent.com/intel/beignet/Release_v1.3/include/CL/cl_intel.h
136 XCAM_WGET(
137 [https://cgit.freedesktop.org/beignet/plain/include/CL/cl_intel.h?id=Release_v1.3.0],
138 [./ext/beignet/include/CL/cl_intel.h],
139 [6a6619073cb35e6987b7379a5a1a1497])
Yinhang Liu4bd7e362017-08-09 15:56:00 +0800140
Yinhang Liud6566762017-12-18 19:48:53 +0800141 CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/ext/beignet/include"
142 fi
Yinhang Liu4bd7e362017-08-09 15:56:00 +0800143 fi
Yinhang Liua94dd682016-08-12 12:56:47 +0800144fi
145
zongwave9b8ecc62017-09-14 16:51:52 +0800146# check opencv minimum version number
Yinhang Liu8034ce12016-12-20 15:30:49 +0800147HAVE_OPENCV=0
148if test "$enable_opencv" = "yes"; then
zongwave9b8ecc62017-09-14 16:51:52 +0800149 OPENCV_VERSION_STR=`$PKG_CONFIG --modversion opencv`
zongwavea6263b52017-09-19 18:01:14 +0800150 PKG_CHECK_MODULES([OPENCV], [opencv >= 3.0.0], [HAVE_OPENCV=1], [HAVE_OPENCV=0])
151 echo "OpenCV version:"$OPENCV_VERSION_STR "minimum required version:3.0.0" "have opencv:"$HAVE_OPENCV
Yinhang Liu8034ce12016-12-20 15:30:49 +0800152fi
153
zongwave938324e2017-05-11 15:33:07 +0800154# check opencv videostab module
155ENABLE_DVS=0
156if test "$HAVE_OPENCV" -eq 1; then
157 AC_LANG(C++)
158 saved_CPPFLAGS="$CPPFLAGS"
159 CPPFLAGS="$CPPFLAGS $OPENCV_CFLAGS"
160 saved_LIBS="$LIBS"
161 LIBS="$LIBS $OPENCV_LIBS"
162 AC_CHECK_HEADER([opencv2/videostab.hpp], [ENABLE_DVS=1], [ENABLE_DVS=0])
163 CPPFLAGS="$saved_CPPFLAGS"
164 LIBS="$saved_LIBS"
165fi
166
zongwave24df7622017-04-17 13:59:08 +0800167# check dvs opencl path
168ENABLE_DVS_CL_PATH=0
169if test "$HAVE_OPENCV" -eq 1; then
170 AC_LANG(C++)
171 saved_CPPFLAGS="$CPPFLAGS"
172 CPPFLAGS="$CPPFLAGS $OPENCV_CFLAGS"
173 saved_LIBS="$LIBS"
174 LIBS="$LIBS $OPENCV_LIBS"
175 AC_COMPILE_IFELSE(
176 [AC_LANG_PROGRAM(
177 [[#include <opencv2/core.hpp>
178 #include <opencv2/opencv.hpp>
179 ]],
180 [[cv::UMat frame0;
181 cv::UMat frame1;
182 cv::videostab::MotionEstimatorRansacL2 est;
183 cv::videostab::KeypointBasedMotionEstimator kpest(&est);
184 kpest.estimate(frame0, frame1);
185 ]]
186 )],
187 [ENABLE_DVS_CL_PATH=1],
188 [ENABLE_DVS_CL_PATH=0]
189 )
190 CPPFLAGS="$saved_CPPFLAGS"
191 LIBS="$saved_LIBS"
192fi
193
Wind Yuanf2b7a8a2017-03-07 06:29:00 -0500194# check capi build
195ENABLE_CAPI=0
196if test "$enable_capi" = "yes"; then
197 ENABLE_CAPI=1
198fi
199
Wind Yuan75564b12015-01-15 06:51:15 -0500200# check AIQ
Jia Menge2ed2392015-07-16 23:20:12 +0800201ENABLE_IA_AIQ=0
Wind Yuan75564b12015-01-15 06:51:15 -0500202USE_LOCAL_AIQ=0
203if test "$enable_aiq" = "yes"; then
Jia Menge2ed2392015-07-16 23:20:12 +0800204 ENABLE_IA_AIQ=1
205 PKG_CHECK_MODULES(IA_AIQ, ia_imaging,
206 PKG_CHECK_EXISTS(ia_imaging >= 2.7,
Wind Yuan1a2e2322016-05-12 02:33:53 -0400207 AC_DEFINE(HAVE_AIQ_2_7, 1, [defined if module ia_imaging >= v2.0_007 is found])
Jia Menge2ed2392015-07-16 23:20:12 +0800208 ),
209 [USE_LOCAL_AIQ=1]
210 )
Wind Yuan1a2e2322016-05-12 02:33:53 -0400211
212 if test "$USE_LOCAL_AIQ" -eq 1; then
213 #check HAVE_AIQ_2_7
214 AC_CACHE_CHECK([for ext/ia_imaging >=v2.0_007],
215 ac_cv_have_aiq_2_7, [
216 saved_CPPFLAGS="$CPPFLAGS"
217 CPPFLAGS="$CPPFLAGS -I./ext/ia_imaging/include"
218 saved_LIBS="$LIBS"
219 LIBS="$LIBS"
220 AC_COMPILE_IFELSE(
221 [AC_LANG_PROGRAM(
222 [[#include <stdint.h>
223 #include <stdio.h>
224 #include "ia_aiq_types.h"
225 ]],
226 [[ia_aiq_ae_results ae_result;
227 ae_result.flashes = NULL;
228 ]]
229 )],
230 [ac_cv_have_aiq_2_7="yes"],
231 [ac_cv_have_aiq_2_7="no"]
232 )
233 CPPFLAGS="$saved_CPPFLAGS"
234 LIBS="$saved_LIBS"
235 ])
236
237 if test "$ac_cv_have_aiq_2_7" = "yes"; then
238 AC_DEFINE(HAVE_AIQ_2_7, 1, [defined if ia_imaging >= v2.0_007 is found])
239 fi
240 fi
241
242 if test "$USE_LOCAL_AIQ" -eq 0; then
243 IA_IMAGING_CFLAGS="$IA_AIQ_CFLAGS"
244 IA_IMAGING_LIBS="$IA_AIQ_LIBS"
245 else
246 IA_IMAGING_CFLAGS="-I\$(top_srcdir)/ext/ia_imaging/include"
247 IA_IMAGING_LIBS="-L\$(top_srcdir)/ext/ia_imaging/lib -lia_aiq -lia_isp_2_2 -lia_cmc_parser -lia_mkn -lia_nvm -lia_exc -lia_log"
248 fi
249 AC_SUBST(IA_IMAGING_CFLAGS)
250 AC_SUBST(IA_IMAGING_LIBS)
251 LIBS="$LIBS $IA_IMAGING_LIBS"
Wind Yuan75564b12015-01-15 06:51:15 -0500252fi
253
Wind Yuan8ba2f162015-05-04 14:51:07 +0800254# check 3a lib build
255ENABLE_3ALIB=0
256if test "$enable_3alib" = "yes"; then
257 ENABLE_3ALIB=1
258fi
259AM_CONDITIONAL([ENABLE_3ALIB], [test "$ENABLE_3ALIB" -eq 1])
260
zongwave03954a32015-09-22 15:40:44 +0800261# check smart analysis lib build
262ENABLE_SMART_LIB=0
263if test "$enable_smartlib" = "yes"; then
264 ENABLE_SMART_LIB=1
265fi
266AM_CONDITIONAL([ENABLE_SMART_LIB], [test "$ENABLE_SMART_LIB" -eq 1])
267
Wind Yuan75564b12015-01-15 06:51:15 -0500268# check atomisp headers
269USE_LOCAL_ATOMISP=0
270#AC_CHECK_HEADERS([linux/atomisp.h], [USE_LOCAL_ATOMISP=0], [USE_LOCAL_ATOMISP=1])
271AC_CACHE_CHECK([for linux/atomisp.h],
272 ac_cv_have_atomisp_headers, [
273 saved_CPPFLAGS="$CPPFLAGS"
274 CPPFLAGS="$CPPFLAGS"
275 saved_LIBS="$LIBS"
276 LIBS="$LIBS"
277 AC_COMPILE_IFELSE(
278 [AC_LANG_PROGRAM(
279 [[#ifndef __user
280 #define __user
281 #endif
282 #include <stdint.h>
283 #include <stdio.h>
284 #include <linux/atomisp.h>]],
285 [[struct atomisp_parm param;]]
286 )],
287 [ac_cv_have_atomisp_headers="yes"],
288 [ac_cv_have_atomisp_headers="no" USE_LOCAL_ATOMISP=1]
289 )
290 CPPFLAGS="$saved_CPPFLAGS"
291 LIBS="$saved_LIBS"
292])
293
294
John Ye3fc8fc42015-03-19 14:41:01 +0800295# build gstreamer plugin
296GST_API_VERSION=1.0
297GST_VERSION_REQUIRED=1.2.3
298ENABLE_GST=0
299if test "$enable_gst" = "yes"; then
300 ENABLE_GST=1
301 PKG_CHECK_MODULES([GST], [gstreamer-$GST_API_VERSION >= $GST_VERSION_REQUIRED])
302 PKG_CHECK_MODULES([GST_ALLOCATOR], [gstreamer-allocators-$GST_API_VERSION >= $GST_VERSION_REQUIRED])
303 PKG_CHECK_MODULES([GST_VIDEO], [gstreamer-video-$GST_API_VERSION >= $GST_VERSION_REQUIRED])
304fi
305AM_CONDITIONAL([ENABLE_GST], [test "$ENABLE_GST" -eq 1])
306
Wind Yuan75564b12015-01-15 06:51:15 -0500307dnl set XCAM_CFLAGS and XCAM_CXXFLAGS
Yinhang Liu4ac3d362017-03-30 18:33:47 +0800308XCAM_CFLAGS=" -fPIC -DSTDC99 -W -Wall -D_REENTRANT -Wformat -Wformat-security -fstack-protector"
Wind Yuan75564b12015-01-15 06:51:15 -0500309if test "$enable_debug" = "yes"; then
Yinhang Liu4ac3d362017-03-30 18:33:47 +0800310 XCAM_CFLAGS="$XCAM_CFLAGS -g -DDEBUG"
Wind Yuan75564b12015-01-15 06:51:15 -0500311fi
312XCAM_CXXFLAGS="$XCAM_CFLAGS -std=c++0x"
313AC_SUBST(XCAM_CFLAGS)
314AC_SUBST(XCAM_CXXFLAGS)
315
Wind Yuan33506932017-03-07 06:30:17 -0500316PTHREAD_LDFLAGS="$PTHREAD_LDFLAGS -pthread"
317AC_SUBST(PTHREAD_LDFLAGS)
318
Wind Yuan75564b12015-01-15 06:51:15 -0500319# define macor in config.h
Wind Yuan91625802015-06-24 15:36:01 +0800320AC_DEFINE_UNQUOTED([ENABLE_PROFILING], $ENABLE_PROFILING,
321 [enable profiling])
322
Wind Yuan75564b12015-01-15 06:51:15 -0500323AC_DEFINE_UNQUOTED([HAVE_LIBDRM], $HAVE_LIBDRM,
324 [have libdrm])
325AM_CONDITIONAL([HAVE_LIBDRM], [test "$HAVE_LIBDRM" -eq 1])
326
Wind Yuan4009d6c2015-02-10 18:09:48 +0800327AC_DEFINE_UNQUOTED([HAVE_LIBCL], $HAVE_LIBCL,
328 [have libcl])
329AM_CONDITIONAL([HAVE_LIBCL], [test "$HAVE_LIBCL" -eq 1])
330
Yinhang Liu8034ce12016-12-20 15:30:49 +0800331AC_DEFINE_UNQUOTED([HAVE_OPENCV], $HAVE_OPENCV,
332 [have opencv])
333AM_CONDITIONAL([HAVE_OPENCV], [test "$HAVE_OPENCV" -eq 1])
334
zongwave938324e2017-05-11 15:33:07 +0800335AC_DEFINE_UNQUOTED([ENABLE_DVS], $ENABLE_DVS,
336 [enable dvs])
337AM_CONDITIONAL([ENABLE_DVS], [test "$ENABLE_DVS" -eq 1])
338
zongwave24df7622017-04-17 13:59:08 +0800339AC_DEFINE_UNQUOTED([ENABLE_DVS_CL_PATH], $ENABLE_DVS_CL_PATH,
340 [enable dvs cl path])
341AM_CONDITIONAL([ENABLE_DVS_CL_PATH], [test "$ENABLE_DVS_CL_PATH" -eq 1])
342
Wind Yuanf2b7a8a2017-03-07 06:29:00 -0500343AC_DEFINE_UNQUOTED([ENABLE_CAPI], $ENABLE_CAPI,
344 [enable capi build])
345AM_CONDITIONAL([ENABLE_CAPI], [test "$ENABLE_CAPI" -eq 1])
346
Wind Yuan75564b12015-01-15 06:51:15 -0500347#atomisp
348AM_CONDITIONAL([USE_LOCAL_ATOMISP], [test "$USE_LOCAL_ATOMISP" -eq 1])
349
350# aiq (ia_imaging)
Jia Menge2ed2392015-07-16 23:20:12 +0800351AC_DEFINE_UNQUOTED([HAVE_IA_AIQ], $ENABLE_IA_AIQ,
Wind Yuan75564b12015-01-15 06:51:15 -0500352 [have aiq binary])
Jia Menge2ed2392015-07-16 23:20:12 +0800353AM_CONDITIONAL([ENABLE_IA_AIQ], [test "$ENABLE_IA_AIQ" -eq 1])
Wind Yuan75564b12015-01-15 06:51:15 -0500354AM_CONDITIONAL([USE_LOCAL_AIQ], [test "$USE_LOCAL_AIQ" -eq 1])
355
356AC_CONFIG_FILES([Makefile
Yinhang Liu42f06302015-05-22 17:01:58 +0800357 clx_kernel/Makefile
Wind Yuan75564b12015-01-15 06:51:15 -0500358 xcore/Makefile
Yinhang Liuf1a32a22016-06-12 13:33:46 +0800359 modules/Makefile
Wind Yuan548b29d2017-09-01 19:38:01 +0800360 modules/soft/Makefile
Yinhang Liuf1a32a22016-06-12 13:33:46 +0800361 modules/isp/Makefile
362 modules/ocl/Makefile
John Yee94eb962015-03-17 15:34:03 +0800363 wrapper/Makefile
364 wrapper/gstreamer/Makefile
John Ye79d1f1e2015-04-01 17:02:11 +0800365 wrapper/gstreamer/interface/Makefile
Yinhang Liuf1a32a22016-06-12 13:33:46 +0800366 plugins/Makefile
367 plugins/3a/hybrid/Makefile
368 plugins/3a/aiq/Makefile
369 plugins/3a/Makefile
370 plugins/smart/Makefile
zongwaved2d28ad2016-12-23 10:46:51 +0800371 plugins/smart/dvs/Makefile
372 plugins/smart/dvs/libdvs/Makefile
373 plugins/smart/sample/Makefile
Wind Yuanf2b7a8a2017-03-07 06:29:00 -0500374 capi/Makefile
Wind Yuan75564b12015-01-15 06:51:15 -0500375 tests/Makefile
376 pkgconfig/Makefile
zongwave810e1972017-04-21 15:02:06 +0800377 pkgconfig/libxcam.pc
Wind Yuan75564b12015-01-15 06:51:15 -0500378 ])
Yinhang Liuf1a32a22016-06-12 13:33:46 +0800379
Wind Yuan75564b12015-01-15 06:51:15 -0500380AC_OUTPUT
381
Yinhang Liu6987f2b2017-09-30 10:39:58 +0800382if test "$HAVE_LIBDRM" -eq 1; then have_drm="yes"; else have_drm="no"; fi
Wind Yuan75564b12015-01-15 06:51:15 -0500383if test "$USE_LOCAL_AIQ" -eq 1; then use_local_aiq="yes"; else use_local_aiq="no"; fi
384if test "$USE_LOCAL_ATOMISP" -eq 1; then use_local_atomisp="yes"; else use_local_atomisp="no"; fi
Wind Yuan4009d6c2015-02-10 18:09:48 +0800385if test "$HAVE_LIBCL" -eq 1; then have_libcl="yes"; else have_libcl="no"; fi
Yinhang Liu8034ce12016-12-20 15:30:49 +0800386if test "$HAVE_OPENCV" -eq 1; then have_opencv="yes"; else have_opencv="no"; fi
zongwave938324e2017-05-11 15:33:07 +0800387if test "$ENABLE_DVS" -eq 1; then enable_dvs="yes"; else enable_dvs="no"; fi
Wind Yuan75564b12015-01-15 06:51:15 -0500388
389echo "
390 libxcam configuration summary
391 version : $XCAM_VERSION
392 enable debug : $enable_debug
Wind Yuan91625802015-06-24 15:36:01 +0800393 enable profiling : $enable_profiling
Yinhang Liu6987f2b2017-09-30 10:39:58 +0800394 enable drm lib : $have_drm
John Ye3fc8fc42015-03-19 14:41:01 +0800395 build GStreamer plugin : $enable_gst
Jia Menge2ed2392015-07-16 23:20:12 +0800396 build aiq analyzer : $enable_aiq
Wind Yuan75564b12015-01-15 06:51:15 -0500397 use local aiq : $use_local_aiq
398 use local atomisp : $use_local_atomisp
Wind Yuan4009d6c2015-02-10 18:09:48 +0800399 have opencl lib : $have_libcl
Yinhang Liu8034ce12016-12-20 15:30:49 +0800400 have opencv lib : $have_opencv
Wind Yuan8ba2f162015-05-04 14:51:07 +0800401 enable 3a lib : $enable_3alib
zongwave03954a32015-09-22 15:40:44 +0800402 enable smart analysis lib : $enable_smartlib
zongwave938324e2017-05-11 15:33:07 +0800403 enable dvs : $enable_dvs
Wind Yuanf2b7a8a2017-03-07 06:29:00 -0500404 enable libxcam-capi lib : $enable_capi
Wind Yuan75564b12015-01-15 06:51:15 -0500405"