forked from libstorage/libstoragemgmt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
547 lines (462 loc) · 19 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
dnl Process this file with autoconf to produce a configure script.
dnl Copyright (C) 2011-2016 Red Hat, Inc.
dnl See COPYING.LIB for the License of this software
AC_INIT(
[libstoragemgmt], [1.9.2], [[email protected]],
[], [https://github.com/libstorage/libstoragemgmt/])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
dnl Make automake keep quiet about wildcards & other GNUmake-isms
AM_INIT_AUTOMAKE([-Wno-portability subdir-objects])
AM_MAINTAINER_MODE([enable])
# Enable silent build when available (Automake 1.11)
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
PKG_PROG_PKG_CONFIG
AC_CANONICAL_HOST
LIBSM_MAJOR_VERSION=`echo $VERSION | awk -F. '{print $1}'`
LIBSM_MINOR_VERSION=`echo $VERSION | awk -F. '{print $2}'`
LIBSM_MICRO_VERSION=`echo $VERSION | awk -F. '{print $3}'`
LIBSM_VERSION=$LIBSM_MAJOR_VERSION.$LIBSM_MINOR_VERSION.$LIBSM_MICRO_VERSION$LIBSM_MICRO_VERSION_SUFFIX
LIBSM_VERSION_INFO=`expr $LIBSM_MAJOR_VERSION + $LIBSM_MINOR_VERSION`:$LIBSM_MICRO_VERSION:$LIBSM_MINOR_VERSION
LIBSM_VERSION_NUMBER=`expr $LIBSM_MAJOR_VERSION \* 1000000 + $LIBSM_MINOR_VERSION \* 1000 + $LIBSM_MICRO_VERSION`
# Our intention is that we will always be backward compatible. Thus we will
# set the library version in such a way so that we will always be
# libstoragemgmt.so.1.n.n once we officially release our ver 1.0.0.
#
# To make this happen we will use the minor version as the libtool current and
# age set to minor - 1 and the micro used for revision. Basically this will get
# us what we expect while utilizing the libtool revision system.
#
# For this to work we need to make sure that when we add to the interface we
# increment minor and set micro to 0. If we make a code change which doesn't
# change the API we can just bump micro.
#
# 0.1.0 -> libstoragemgmt.so.0.1.0
# 1.0.0 -> libstoragemgmt.so.1.0.0
# 1.1.0 -> libstoragemgmt.so.1.1.0
# 1.1.1 -> libstoragemgmt.so.1.1.1
CURRENT=`expr $LIBSM_MAJOR_VERSION '*' 1 + $LIBSM_MINOR_VERSION`
AGE=$LIBSM_MINOR_VERSION
REVISION=$LIBSM_MICRO_VERSION
LIBSM_LIBTOOL_VERSION=$CURRENT:$REVISION:$AGE
AC_SUBST([LIBSM_MAJOR_VERSION])
AC_SUBST([LIBSM_MINOR_VERSION])
AC_SUBST([LIBSM_MICRO_VERSION])
AC_SUBST([LIBSM_VERSION])
AC_SUBST([LIBSM_VERSION_INFO])
AC_SUBST([LIBSM_VERSION_NUMBER])
AC_SUBST([LIBSM_LIBTOOL_VERSION])
dnl Required minimum versions of all libs we depend on
LIBXML_REQUIRED="2.5.0"
dnl Checks for C compiler.
AC_PROG_CC
AC_PROG_CXX
AC_PROG_AWK
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_CPP
AM_PROG_CC_STDC
AM_PROG_LIBTOOL
AM_PROG_CC_C_O
AM_PROG_LD
AC_CHECK_HEADERS([stdint.h stdlib.h string.h sys/socket.h syslog.h unistd.h linux/nvme_ioctl.h])
AC_LANG_PUSH([C++])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([int i;])],
[], [AC_MSG_ERROR([C++ compiler missing or inoperational])])
AC_LANG_POP([C++])
#Make sure all types are covered
AC_HEADER_STDBOOL
AC_TYPE_INT32_T
AC_TYPE_INT64_T
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
AC_TYPE_UINT8_T
AC_FUNC_ERROR_AT_LINE
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([getpass memset socket strchr strdup strtol strtoul])
dnl =====================================================================
dnl Check for perl, used for C API documents.
dnl =====================================================================
AC_PATH_PROGS(PERL, perl)
if test -z $PERL ;then
AC_MSG_ERROR([perl is required for build C API documents])
fi
dnl Availability of various common headers (non-fatal if missing).
AC_CHECK_HEADERS([dlfcn.h])
#Check for sqlite development libs for simc_lsmplugin
PKG_CHECK_MODULES([SQLITE3], [sqlite3])
dnl if --prefix is /usr, don't use /usr/var for localstatedir
dnl or /usr/etc for sysconfdir
dnl as this makes a lot of things break in testing situations
if test "$prefix" = "/usr" && test "$localstatedir" = '${prefix}/var' ; then
localstatedir='/var'
fi
if test "$prefix" = "/usr" && test "$sysconfdir" = '${prefix}/etc' ; then
sysconfdir='/etc'
fi
dnl ==========================================================================
dnl find libxml2 library, borrowed from xmlsec
dnl ==========================================================================
PKG_CHECK_MODULES([LIBXML], [libxml-2.0])
PKG_CHECK_MODULES([LIBGLIB], [glib-2.0 >= 2.22.5])
AC_ARG_WITH([test],
[AC_HELP_STRING([--without-test],
[disable all test case])],
[], [with_test=yes])
AM_CONDITIONAL([WITH_TEST], [test "x$with_test" = "xyes"])
if test "x${with_test}" = "xyes"; then
PKG_CHECK_MODULES([LIBCHECK], [check >= 0.9.8 ])
dnl =====================================================================
dnl Check for chrpath, valgrind, wc, used for make check
dnl =====================================================================
AC_PATH_PROG([CHRPATH], chrpath)
if test -z $CHRPATH ;then
AC_MSG_ERROR([Need 'chrpath' to run test cases])
fi
AC_ARG_WITH([mem-leak-test],
[AS_HELP_STRING([--without-mem-leak-test],
[Do not run memory leak test])],
[],
[with_mem_leak_test=yes])
if test "x$with_mem_leak_test" == "xyes"; then
AC_PATH_PROG([VALGRIND], valgrind)
AC_SUBST(WITH_MEM_LEAK_TEST, yes)
if test -z $VALGRIND ;then
AC_MSG_ERROR([Need 'valgrind' to run memory leak test])
fi
else
AC_SUBST(WITH_MEM_LEAK_TEST, no)
fi
AC_PATH_PROG([WC], wc)
if test -z $WC ;then
AC_MSG_ERROR([Need 'wc' to run test cases])
fi
AC_PATH_PROG([PS], ps)
if test -z $PS ;then
AC_MSG_ERROR([Need 'ps' to run test cases])
fi
fi
PKG_CHECK_MODULES([LIBUDEV], [libudev])
dnl ==========================================================================
dnl If we have python3 support or the user specified it explicitly use it.
dnl ==========================================================================
AC_ARG_WITH([python3],
[AS_HELP_STRING([--with-python3],
[Use Python3 only])],
[with_python3=yes],
[])
AC_ARG_WITH([python2],
[AS_HELP_STRING([--with-python2],
[Use Python2 only])],
[force_2=yes],
[])
dnl ==========================================================================
dnl Add option '--without-smispy' to exclude SMI-S python plugin.
dnl ==========================================================================
AC_ARG_WITH([smispy],
[AS_HELP_STRING([--without-smispy],
[Do not build the SMI-S python plugin])],
[],
[with_smispy=yes])
AM_CONDITIONAL([WITH_SMISPY], [test "x$with_smispy" = "xyes"])
if test "x$with_smispy" = "xyes"; then
AC_SUBST(WITH_SMISPY, yes)
else
AC_SUBST(WITH_SMISPY, no)
fi
if test "x$force_2" = "xyes"; then
if test "x$with_python3" = "xyes"; then
AC_MSG_ERROR([--with-python2 and --with-python3 cannot be specified together])
fi
else
AM_PATH_PYTHON([3], [with_python3=yes], [:])
fi
if test "x$with_python3" = "xyes"; then
AC_SUBST(WITH_PYTHON3, yes)
AC_PATH_PROGS(PYTHON, python3, [Python3 is required])
AM_PATH_PYTHON([3], [], AC_MSG_ERROR([Python interpreter 3 required]))
if test "x$with_smispy" = "xyes"; then
AC_PYTHON_MODULE([pywbem], [Required], [python3])
fi
AC_PYTHON_MODULE([six], [Required], [python3])
PKG_CHECK_MODULES([PYTHON], [python3], [], [not_found_py_pkg=yes])
if test "x$not_found_py_pkg" == "xyes"; then
AC_CHECK_PROG([PY_CONFIG_CHECK], [python3-config], [yes])
if test "x${PY_CONFIG_CHECK}" != "xyes"; then
AC_MSG_ERROR([Python3 development libraries required])
fi
PYTHON_CFLAGS=`python3-config --cflags`
PYTHON_LIBS=`python3-config --libs`
AC_SUBST(PYTHON_CFLAGS)
AC_SUBST(PYTHON_LIBS)
fi
if test -e "/etc/debian_version"; then
new_py_dir=`echo $pythondir| sed -e 's/site-packages$/dist-packages/'`
new_pyexec_dir=`echo $pyexecdir| sed -e 's/site-packages$/dist-packages/'`
AC_SUBST([pythondir], [$new_py_dir])
AC_SUBST([pyexecdir], [$new_pyexec_dir])
AC_MSG_NOTICE(["Applying workaround for debian bug 839064: $pythondir"])
fi
AC_SUBST(PY_VERSION, 3)
AC_SUBST(LSM_PYSO_DIR, [$pyexecdir])
else
AC_SUBST(WITH_PYTHON3, no)
AC_PATH_PROGS(PYTHON, python2.7 python2.6 python, [Python is required])
AC_MSG_CHECKING([Check for Python major version])
PYTHON_MAJOR_VERSION=`$PYTHON -c "import sys; print(sys.version_info[[0]])"`
case "$PYTHON_MAJOR_VERSION" in
2)
;;
*)
AC_MSG_ERROR([we need Python version 2.x \
but found $PYTHON_MAJOR_VERSION.x]) ;;
esac
AC_MSG_RESULT([$PYTHON_MAJOR_VERSION])
AM_PATH_PYTHON([2.6], [],
AC_MSG_ERROR([Python interpreter 2.6 or 2.7 required]) )
if test "x$with_smispy" = "xyes"; then
AC_PYTHON_MODULE([pywbem], [Required])
fi
AC_PYTHON_MODULE([argparse], [Required])
AC_PYTHON_MODULE([six], [Required])
PKG_CHECK_MODULES([PYTHON], [python2], [], [not_found_py_pkg=yes])
if test "x$not_found_py_pkg" == "xyes"; then
AC_CHECK_PROG([PY_CONFIG_CHECK], [python-config], [yes])
if test "x${PY_CONFIG_CHECK}" != "xyes"; then
AC_MSG_ERROR([Python2 development libraries required])
fi
PYTHON_CFLAGS=`python-config --cflags`
PYTHON_LIBS=`python-config --libs`
AC_SUBST(PYTHON_CFLAGS)
AC_SUBST(PYTHON_LIBS)
else
dnl travis 18.04 ubuntu appears to have a bug WRT PKG_CHECK_MODULES
HAS_INCLUDE=`echo $PYTHON_CFLAGS | awk '/include/'`
if test -z "$HAS_INCLUDE"; then
AC_MSG_NOTICE([PYTHON_CFLAGS missing include])
AC_CHECK_PROG([PY_CONFIG_CHECK], [python-config], [yes])
if test "x${PY_CONFIG_CHECK}" != "xyes"; then
AC_MSG_ERROR([Python2 development libraries required])
fi
PYTHON_CFLAGS=`python-config --cflags`
PYTHON_LIBS=`python-config --libs`
AC_SUBST(PYTHON_CFLAGS)
AC_SUBST(PYTHON_LIBS)
fi
fi
AC_SUBST(PY_VERSION, 2)
AC_SUBST(LSM_PYSO_DIR, [$pyexecdir])
fi
AC_MSG_NOTICE([PYTHON_CFLAGS])
AC_MSG_NOTICE([$PYTHON_CFLAGS])
AM_CONDITIONAL([WITH_PYTHON3], [test "x$with_python3" = "xyes"])
dnl ==========================================================================
dnl Add option '--without-megaraid' to exclude megaraid plugin.
dnl ==========================================================================
AC_ARG_WITH([megaraid],
[AS_HELP_STRING([--without-megaraid],
[Do not build the MegaRAID plugin])],
[],
[with_megaraid=yes])
AM_CONDITIONAL([WITH_MEGARAID], [test "x$with_megaraid" = "xyes"])
dnl ==========================================================================
dnl Add option '--without-hpsa' to exclude hpsa plugin.
dnl ==========================================================================
AC_ARG_WITH([hpsa],
[AS_HELP_STRING([--without-hpsa],
[Do not build the HP SmartArray plugin])],
[],
[with_hpsa=yes])
AM_CONDITIONAL([WITH_HPSA], [test "x$with_hpsa" = "xyes"])
dnl ==========================================================================
dnl Add option '--without-arcconf' to exclude Arcconf plugin.
dnl ==========================================================================
AC_ARG_WITH([arcconf],
[AS_HELP_STRING([--without-arcconf],
[Do not build the Microsemi Arcconf plugin])],
[],
[with_arcconf=yes])
AM_CONDITIONAL([WITH_ARCCONF], [test "x$with_arcconf" = "xyes"])
dnl ==========================================================================
dnl Add option '--without-local' to exclude local plugin.
dnl ==========================================================================
AC_ARG_WITH([local],
[AS_HELP_STRING([--without-local],
[Do not build the Local plugin])],
[],
[with_local=yes])
AM_CONDITIONAL([WITH_LOCAL], [test "x$with_local" = "xyes"])
dnl ==========================================================================
dnl Add option '--without-targetd' to exclude targetd plugin.
dnl ==========================================================================
AC_ARG_WITH([targetd],
[AS_HELP_STRING([--without-targetd],
[Do not build the targetd plugin])],
[],
[with_targetd=yes])
AM_CONDITIONAL([WITH_TARGETD], [test "x$with_targetd" = "xyes"])
dnl ==========================================================================
dnl Add option '--without-simc' to exclude simulator C plugin.
dnl ==========================================================================
AC_ARG_WITH([simc],
[AS_HELP_STRING([--without-simc],
[Do not build the simulator C plugin])],
[],
[with_simc=yes])
AM_CONDITIONAL([WITH_SIMC], [test "x$with_simc" = "xyes"])
dnl ==========================================================================
dnl Add option '--without-sim' to exclude simulator python plugin.
dnl ==========================================================================
AC_ARG_WITH([sim],
[AS_HELP_STRING([--without-sim],
[Do not build the simulator python plugin])],
[],
[with_sim=yes])
AM_CONDITIONAL([WITH_SIM], [test "x$with_sim" = "xyes"])
dnl ==========================================================================
dnl Add option '--without-nfs' to exclude nfs plugin.
dnl ==========================================================================
AC_ARG_WITH([nfs],
[AS_HELP_STRING([--without-nfs],
[Do not build the nfs plugin])],
[],
[with_nfs=yes])
AM_CONDITIONAL([WITH_NFS], [test "x$with_nfs" = "xyes"])
dnl ==========================================================================
dnl Check for libconfig as it is needed for lsmd daemon
dnl ==========================================================================
PKG_CHECK_MODULES(
[LIBCONFIG], [libconfig >= 1.3.2],,
AC_MSG_ERROR([libconfig 1.3.2 or newer not found.])
)
dnl ==========================================================================
dnl Add option '--without-bash-completion' to exclude bash completion script.
dnl ==========================================================================
AC_ARG_WITH([bash-completion],
[AS_HELP_STRING([--without-bash-completion],
[Do not install the bash auto-completion script])],
[],
[with_bash_completion=yes])
AM_CONDITIONAL(
[WITH_BASH_COMPLETION], [test "x$with_bash_completion" = "xyes"])
dnl ==========================================================================
dnl Add option '--with-bash-completion-dir' to specific bash completion dir,
dnl if not defined, if pkg-config file for bash-completion found, use its
dnl 'completionsdir', else use /etc/bash_completion.d
dnl ==========================================================================
AC_ARG_WITH([bash-completion-dir],
AS_HELP_STRING(
[--with-bash-completion-dir=DIR],
[Bash completions directory]),
[],
[AS_IF(
[$($PKG_CONFIG --exists bash-completion)],
[with_bash_completion_dir=$(
$PKG_CONFIG --variable=completionsdir bash-completion)],
# EPEL 6 is still shipping bash-completion version 1.x
# which does not provide pkg-config support.
# So, for EPEL 6 or anyone not installed bash-compeltion, we
# use fallback folder '/etc/bash_completion.d'
[with_bash_completion_dir=$sysconfdir/bash_completion.d])])
AC_SUBST([bashcompletiondir], [$with_bash_completion_dir])
#Setup the unit directory for systemd stuff
PKG_PROG_PKG_CONFIG
AC_ARG_WITH([systemdsystemunitdir],
AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
[], [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
if test "x$with_systemdsystemunitdir" != xno; then
AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
fi
#Setup the tmpfilesdir for systemd stuff
AC_ARG_WITH([systemd-tmpfilesdir],
AS_HELP_STRING([--with-systemd-tmpfilesdir=DIR], [Directory for systemd temporary files]),
[], [with_systemdtmpfilesdir=$($PKG_CONFIG --variable=tmpfilesdir systemd)])
if test "x$with_systemdtmpfilesdir" != xno; then
AC_SUBST([systemdtmpfilesdir], [$with_systemdtmpfilesdir])
fi
AM_CONDITIONAL(HAVE_SYSTEMD,
[test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno -a -n "$with_systemdtmpfilesdir" -a "x$with_systemdtmpfilesdir" != xno ])
CPPFLAGS="$CPPFLAGS -Wall"
CPPFLAGS="$CPPFLAGS -Werror"
CPPFLAGS="$CPPFLAGS -Wextra"
AC_CONFIG_FILES([
libstoragemgmt.pc
Makefile
c_binding/Makefile
c_binding/include/Makefile
c_binding/include/libstoragemgmt/Makefile
c_binding/include/libstoragemgmt/libstoragemgmt_version.h
python_binding/Makefile
python_binding/lsm/version.py
plugin/Makefile
plugin/simc/Makefile
plugin/megaraid_plugin/Makefile
plugin/hpsa_plugin/Makefile
plugin/arcconf_plugin/Makefile
plugin/nfs_plugin/Makefile
plugin/local_plugin/Makefile
plugin/smispy_plugin/Makefile
plugin/targetd_plugin/Makefile
plugin/sim_plugin/Makefile
daemon/Makefile
config/Makefile
doc/Makefile
doc/man/lsmcli.1
doc/man/lsmd.1
doc/man/sim_lsmplugin.1
doc/man/simc_lsmplugin.1
doc/man/smispy_lsmplugin.1
doc/man/targetd_lsmplugin.1
doc/man/nfs_lsmplugin.1
doc/man/lsmd.conf.5
doc/man/arcconf_lsmplugin.1
doc/man/megaraid_lsmplugin.1
doc/man/hpsa_lsmplugin.1
doc/man/local_lsmplugin.1
doc/man/libstoragemgmt.h.3
tools/Makefile
tools/udev/Makefile
tools/lsmcli/Makefile
tools/utility/Makefile
tools/bash_completion/Makefile
packaging/Makefile
packaging/daemon/Makefile
packaging/libstoragemgmt.spec
doc/man/Makefile
test/Makefile])
if test "x${with_test}" = "xyes"; then
AC_CONFIG_FILES([test/runtests.sh], [chmod +x test/runtests.sh])
fi
AC_CONFIG_FILES([plugin/sim_plugin/sim_lsmplugin],
[chmod +x plugin/sim_plugin/sim_lsmplugin])
AC_CONFIG_FILES([plugin/megaraid_plugin/megaraid_lsmplugin],
[chmod +x plugin/megaraid_plugin/megaraid_lsmplugin])
AC_CONFIG_FILES([plugin/hpsa_plugin/hpsa_lsmplugin],
[chmod +x plugin/hpsa_plugin/hpsa_lsmplugin])
AC_CONFIG_FILES([plugin/arcconf_plugin/arcconf_lsmplugin],
[chmod +x plugin/arcconf_plugin/arcconf_lsmplugin])
AC_CONFIG_FILES([plugin/targetd_plugin/targetd_lsmplugin],
[chmod +x plugin/targetd_plugin/targetd_lsmplugin])
AC_CONFIG_FILES([plugin/smispy_plugin/smispy_lsmplugin],
[chmod +x plugin/smispy_plugin/smispy_lsmplugin])
AC_CONFIG_FILES([plugin/nfs_plugin/nfs_lsmplugin],
[chmod +x plugin/nfs_plugin/nfs_lsmplugin])
AC_CONFIG_FILES([plugin/local_plugin/local_lsmplugin],
[chmod +x plugin/local_plugin/local_lsmplugin])
AC_CONFIG_FILES([tools/lsmcli/lsmcli],
[chmod +x tools/lsmcli/lsmcli])
AC_CONFIG_FILES([test/plugin_test.py],
[chmod +x test/plugin_test.py])
AC_CONFIG_FILES([test/cmdtest.py],
[chmod +x test/cmdtest.py])
AC_CONFIG_FILES([tools/basic_check/local_check.py],
[chmod +x tools/basic_check/local_check.py])
AC_CONFIG_FILES([tools/use_cases/find_unused_lun.py],
[chmod +x tools/use_cases/find_unused_lun.py])
AC_OUTPUT