ITADN

configure: fix empty prefix

#25610Pull Requestrofl0r 创建于 2015-07-01
buildprmaster
R
rofl0rcommented
autoconf-based configure scripts (which this one is modeled after) support to pass an empty prefix via --prefix=. this is required for systems that have binaries directly in /bin rather than /usr/bin etc (one example is sabotage linux). the fix is easy: rather than testing options.prefix for "if var", which treats an empty string the same as "None", we check for "if var not None". fixes #5197
合并状态:未合并 关闭于 2023-04-22 10 条评论