« Previous | Next » 

Revision 52510f8b

ID52510f8b2c0486e6c2743b1d069b3584ef4524da

Added by Stefan Weil over 10 years ago

configure: Use -B switch only for Python versions which support it

Commit 1d984a67a95d88f3e708b077dab8adeb47c38c93 added the -B switch
unconditionally. This breaks Python versions before 2.6 which don't
support that switch.

Now configure adds -B only if it is accepted by the Python interpreter.

This modification introduces a small incompatibility because -B might now
also be added when configure was called with --python=PYTHON_INTERPRETER.

Signed-off-by: Stefan Weil <>
Reviewed-by: Peter Maydell <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Michael Tokarev <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences