1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

dynconfig: overwrite --with-privatelibdir as a Samba option

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jan 17 17:17:56 CET 2012 on sn-devel-104
This commit is contained in:
Stefan Metzmacher 2012-01-17 12:51:57 +01:00
parent 1f7dbc665c
commit e9874bdf9e

View File

@ -136,6 +136,13 @@ dynconfig = {
'STD-PATH': '${DATADIR}/codepages',
'FHS-PATH': '${DATADIR}/samba/codepages',
},
'PRIVATELIBDIR' : {
'STD-PATH': '${LIBDIR}/private',
'FHS-PATH': '${LIBDIR}/samba',
'OPTION': '--with-privatelibdir',
'HELPTEXT': 'Which directory to use for private Samba libraries',
'OVERWRITE': True,
},
'MODULESDIR' : {
'STD-PATH': '${LIBDIR}',
'FHS-PATH': '${LIBDIR}/samba',
@ -249,7 +256,7 @@ def set_options(opt):
opt.parser.formatter = SambaIndentedHelpFormatter()
opt.parser.formatter.width=Utils.get_term_cols()
for k in ('--with-modulesdir'):
for k in ('--with-privatelibdir', '--with-modulesdir'):
option = opt.parser.get_option(k)
if option:
opt.parser.remove_option(k)