Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#5956 closed defect (fixed)

Configure script ignores --without-python

Reported by: groutr Owned by: warmerdam
Priority: normal Milestone: 2.0.0
Component: ConfigBuild Version: 1.11.2
Severity: normal Keywords: configure, python, nopython
Cc:

Description (last modified by groutr)

When configuring GDAL to build without python bindings, the configure script will ignore --without-python (and --with-python=no) if the PYTHON environment variable is set.

To build without Python bindings, I had to unset the system PYTHON environment variable and give the --without-python option to configure.

Expected solution: make --without-python take precedence. It should not matter if $PYTHON is set. If I don't want to build with python bindings, the configure script should respect that above all else.

Change History (3)

comment:1 by groutr, 9 years ago

Description: modified (diff)

comment:2 by Even Rouault, 9 years ago

Milestone: 2.0
Resolution: fixed
Status: newclosed

trunk r29175 "configure: do not enable Python bindings if PYTHON env variable is set without --with-python being explicitely specified (#5956)"

comment:3 by Even Rouault, 9 years ago

Milestone: 2.02.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.