Author: rhuijben
Date: Wed Jun 13 16:10:25 2012
New Revision: 1349944
URL: http://svn.apache.org/viewvc?rev=1349944&view=rev
Log:
* gen-make.py
Make the --with-neon= and --without-neon arguments on gen-make.py optional,
just like how ./configure handles those. Windows doesn't use ./configure and
this breaks tools that are friendly enough to provide hints.
Modified:
subversion/trunk/gen-make.py
Modified: subversion/trunk/gen-make.py
URL:
http://svn.apache.org/viewvc/subversion/trunk/gen-make.py?rev=1349944&r1=1349943&r2=1349944&view=diff
==============================================================================
--- subversion/trunk/gen-make.py (original)
+++ subversion/trunk/gen-make.py Wed Jun 13 16:10:25 2012
@@ -257,6 +257,13 @@ if __name__ == '__main__':
'disable-shared',
'installed-libs=',
'vsnet-version=',
+
+ # Keep distributions that help by adding a path
+ # working. On unix this would be filtered by
+ # configure, but on Windows gen-make.py is used
+ # directly.
+ 'with-neon=',
+ 'without-neon',
])
if len(args) > 1:
_usage_exit("Too many arguments")
@@ -281,6 +288,9 @@ if __name__ == '__main__':
if opt != '--debug':
rest.add(opt, val)
del prev_conf
+ elif opt == '--with-neon' or opt == '--without-neon':
+ # Provide a warning that we ignored these arguments
+ print("Ignoring no longer supported argument '%s'" % opt)
else:
rest.add(opt, val)