Commit 0c88682f authored by Alexandre Detiste's avatar Alexandre Detiste

configure: add stubbed support of '--program-prefix'

this can be debugged with "rpm --eval %configure"
parent 3b127028
......@@ -69,6 +69,7 @@ class Configure:
oldincludedir='/usr/include',
pdfdir='${docdir}',
prefix='/usr/local',
program_prefix='',
psdir='${docdir}',
runstatedir='${localstatedir}/run',
sbindir='${exec_prefix}/sbin',
......@@ -89,7 +90,7 @@ class Configure:
)
for k, v in self.dirs.items():
self.parser.add_argument('--' + k, default=v)
self.parser.add_argument('--' + k.replace('_','-'), default=v)
for k, v in self.with_.items():
self.parser.add_argument('--with-' + k, default=v, dest=k)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment