1plugindir = join_paths(get_option('libdir'), 'hexchat/plugins')
2
3if host_machine.system() == 'windows'
4  if get_option('with-exec')
5    subdir('exec')
6  endif
7
8  if get_option('with-upd')
9    subdir('upd')
10  endif
11
12  if get_option('with-winamp')
13    subdir('winamp')
14  endif
15endif
16
17if get_option('with-checksum')
18  subdir('checksum')
19endif
20
21if get_option('with-fishlim')
22  subdir('fishlim')
23endif
24
25if get_option('with-lua') != 'false'
26  subdir('lua')
27endif
28
29if get_option('with-perl') != 'false'
30  subdir('perl')
31endif
32
33if get_option('with-python') != 'false'
34  subdir('python')
35endif
36
37if get_option('with-sysinfo')
38  subdir('sysinfo')
39endif
40