mirror of
https://github.com/rkd77/elinks.git
synced 2024-06-15 23:35:34 +00:00
17e905b95d
Fixed building tests. SFTP can be disabled, even if FTP and libcurl are enabled.
48 lines
963 B
Meson
48 lines
963 B
Meson
if conf_data.get('CONFIG_BITTORRENT')
|
|
subdir('bittorrent')
|
|
endif
|
|
if conf_data.get('CONFIG_LIBCURL')
|
|
subdir('curl')
|
|
endif
|
|
if conf_data.get('CONFIG_FINGER')
|
|
subdir('finger')
|
|
endif
|
|
if conf_data.get('CONFIG_FSP') or conf_data.get('CONFIG_FSP2')
|
|
subdir('fsp')
|
|
endif
|
|
if conf_data.get('CONFIG_FTP')
|
|
subdir('ftp')
|
|
endif
|
|
if conf_data.get('CONFIG_GEMINI')
|
|
subdir('gemini')
|
|
endif
|
|
if conf_data.get('CONFIG_GOPHER')
|
|
subdir('gopher')
|
|
endif
|
|
if conf_data.get('CONFIG_NNTP')
|
|
subdir('nntp')
|
|
endif
|
|
if conf_data.get('CONFIG_SMB')
|
|
subdir('smb')
|
|
endif
|
|
if conf_data.get('CONFIG_URI_REWRITE')
|
|
subdir('rewrite')
|
|
endif
|
|
subdir('auth')
|
|
subdir('file')
|
|
subdir('http')
|
|
|
|
if conf_data.get('CONFIG_DATA')
|
|
srcs += files('data.c')
|
|
endif
|
|
|
|
if conf_data.get('CONFIG_FTP') or conf_data.get('CONFIG_SFTP')
|
|
srcs += files('ftpparse.c')
|
|
endif
|
|
|
|
srcs += files('about.c', 'common.c', 'date.c', 'header.c', 'protocol.c', 'proxy.c', 'uri.c', 'user.c')
|
|
|
|
if get_option('test')
|
|
subdir('test')
|
|
endif
|