Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure: fix python related make distcheck problems #526

Merged

Conversation

ihrwein
Copy link
Contributor

@ihrwein ihrwein commented Jun 17, 2015

The problem was, that the enable_python variable wasn't set to 'no',
when with_python was 'no'.

--with-python now accepts parameters, like --with-python=2,
--with-python=2.7, --with-python=auto. The --with-python=yes case was
removed, because --enable-python replaced this behavior.

Signed-off-by: Tibor Benke tibor.benke@balabit.com

When one runs make distcheck, configure is called without parameters like
--enable-*, --with-*. Before this patch with_python didn't have default value
and enable_python had 'auto'.

We set the ENABLE_PYTHON condition when enable_python isn't 'no'. The problem
was, that the enable_python variable wasn't set to 'no' when with_python was
empty.

As a consequence --with-python now accepts parameters, like --with-python=2,
--with-python=2.7, --with-python=auto. The --with-python=yes case was removed,
because --enable-python replaced this behavior.

Signed-off-by: Tibor Benke <tibor.benke@balabit.com>
@ihrwein ihrwein force-pushed the f/fix-python-related-distcheck-problems branch from da27cab to 4553115 Compare June 17, 2015 12:15
@ihrwein
Copy link
Contributor Author

ihrwein commented Jun 17, 2015

I've rephrased the commit message.

@lbudai
Copy link
Collaborator

lbudai commented Jun 18, 2015

Thanks!

👍

lbudai added a commit that referenced this pull request Jun 19, 2015
…roblems

configure: fix python related make distcheck problems
@lbudai lbudai merged commit 2697d5d into syslog-ng:master Jun 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants