mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
error out on empty perlmodlib, for example non-existant vendor
reported by Xogium
This commit is contained in:
parent
581c43ed1e
commit
06396e9c8f
@ -403,6 +403,7 @@ int main()
|
|||||||
with_perl_lib = 'vendor'
|
with_perl_lib = 'vendor'
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
perlmoddir = ''
|
||||||
if with_perl_lib in ['site', 'vendor', 'module']
|
if with_perl_lib in ['site', 'vendor', 'module']
|
||||||
set_perl_use_lib = false
|
set_perl_use_lib = false
|
||||||
perl_library_dir = with_perl_lib + ' default'
|
perl_library_dir = with_perl_lib + ' default'
|
||||||
@ -426,7 +427,8 @@ int main()
|
|||||||
set_perl_use_lib = true
|
set_perl_use_lib = true
|
||||||
perl_library_dir = 'custom'
|
perl_library_dir = 'custom'
|
||||||
perlmoddir = with_perl_lib
|
perlmoddir = with_perl_lib
|
||||||
else
|
endif
|
||||||
|
if perlmoddir == ''
|
||||||
error('Unrecognised with-perl-lib value: ' + with_perl_lib)
|
error('Unrecognised with-perl-lib value: ' + with_perl_lib)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user