summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-10-27 03:15:23 (GMT)
committerNico Weber <nicolasweber@gmx.de>2013-10-27 03:15:23 (GMT)
commit3aa641ec82d39760b6aa413c2870d0d418c48898 (patch)
treeb3494c34fd697ec6e195fbca1ce9d6f31118ab31 /configure.py
parenta3c823c3da70bd46d69341f13184cdae4c77645d (diff)
downloadNinja-3aa641ec82d39760b6aa413c2870d0d418c48898.zip
Ninja-3aa641ec82d39760b6aa413c2870d0d418c48898.tar.gz
Ninja-3aa641ec82d39760b6aa413c2870d0d418c48898.tar.bz2
Wrap to 79 colums. No functionality change.
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/configure.py b/configure.py
index 431b03e..cceb0f7 100755
--- a/configure.py
+++ b/configure.py
@@ -32,10 +32,12 @@ import ninja_syntax
parser = OptionParser()
profilers = ['gmon', 'pprof']
parser.add_option('--platform',
- help='target platform (' + '/'.join(platform_helper.platforms()) + ')',
+ help='target platform (' +
+ '/'.join(platform_helper.platforms()) + ')',
choices=platform_helper.platforms())
parser.add_option('--host',
- help='host platform (' + '/'.join(platform_helper.platforms()) + ')',
+ help='host platform (' +
+ '/'.join(platform_helper.platforms()) + ')',
choices=platform_helper.platforms())
parser.add_option('--debug', action='store_true',
help='enable debugging extras',)
@@ -48,7 +50,8 @@ parser.add_option('--with-python', metavar='EXE',
help='use EXE as the Python interpreter',
default=os.path.basename(sys.executable))
parser.add_option('--force-pselect', action='store_true',
- help="ppoll() is used by default where available, but some platforms may need to use pselect instead",)
+ help='ppoll() is used by default where available, '
+ 'but some platforms may need to use pselect instead',)
(options, args) = parser.parse_args()
if args:
print('ERROR: extra unparsed command-line arguments:', args)
@@ -167,7 +170,8 @@ else:
cflags.append('-fno-omit-frame-pointer')
libs.extend(['-Wl,--no-as-needed', '-lprofiler'])
-if (platform.is_linux() or platform.is_openbsd() or platform.is_bitrig()) and not options.force_pselect:
+if (platform.is_linux() or platform.is_openbsd() or platform.is_bitrig()) and \
+ not options.force_pselect:
cflags.append('-DUSE_PPOLL')
def shell_escape(str):