summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorDavid Hill <dhill@conformal.com>2013-06-29 21:34:51 (GMT)
committerDavid Hill <dhill@conformal.com>2013-06-29 21:34:51 (GMT)
commit7b9b1fb94aa44784e33734bef68c76e6a43361ef (patch)
tree760cfc7543c2369880a25e3b897e8fb2ecb46df1 /configure.py
parentc8ac05c871a22cdd3b41ab76e72544524cedafae (diff)
downloadNinja-7b9b1fb94aa44784e33734bef68c76e6a43361ef.zip
Ninja-7b9b1fb94aa44784e33734bef68c76e6a43361ef.tar.gz
Ninja-7b9b1fb94aa44784e33734bef68c76e6a43361ef.tar.bz2
support Bitrig
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.py b/configure.py
index 22eb1e5..6b6b3d0 100755
--- a/configure.py
+++ b/configure.py
@@ -48,7 +48,7 @@ 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 on Linux and OpenBSD, but older versions might need to use pselect instead",)
+ help="ppoll() is used by default on Linux, OpenBSD and Bitrig, but older versions might need to use pselect instead",)
(options, args) = parser.parse_args()
if args:
print('ERROR: extra unparsed command-line arguments:', args)
@@ -165,7 +165,7 @@ else:
cflags.append('-fno-omit-frame-pointer')
libs.extend(['-Wl,--no-as-needed', '-lprofiler'])
-if (platform.is_linux() or platform.is_openbsd()) 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):