Opened 22 years ago

Last modified 22 years ago

#137 closed defect (worksforme)

Configure ignores --without-python

Reported by: tkeitt@… Owned by: warmerdam
Priority: high Milestone:
Component: default Version: unspecified
Severity: minor Keywords:
Cc:

Description

I think the below AC_ARG_WITH needs an action field entry:

dnl ---------------------------------------------------------------------------
dnl Python Checks
dnl ---------------------------------------------------------------------------

AC_ARG_WITH(python,[  --without-python        Disable Python],,)

AM_PATH_PYTHON
AM_INIT_PYEXEC_MOD
AM_CHECK_NUMPY

AC_OUTPUT(GDALmake.opt)

Change History (3)

comment:1 by tkeitt@…, 22 years ago

Using '--with-python=no' does work.

comment:2 by warmerdam, 22 years ago

Timothy,

I tried "./configure --without-python" and python was properly disabled.
I am pretty sure the default action of AC_ARG_WITH() is to enable/disable the
flag so I shouldn't need to provide an action unless I want to do something
special.

Can you try and reproduce the problem you encountered again?  What did you see
in the configure message list?  

comment:3 by tkeitt@…, 22 years ago

You're right, it does seem to work; probably a typo on my part. T.
Note: See TracTickets for help on using tickets.