Project

General

Profile

Actions

Bug #880

closed

automake: --without-gtk2 doesn't work

Added by Colin McCabe about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

./configure --without-gtk2 ...

later:

...
configure: error: --with-gtk2 was given, but test for gtkmm failed
...

The cause of this is that we are not checking $withval in our AC_ARG_WITH statements. The general form of AC_ARG_WITH is like this:

AC_ARG_WITH (package, help-string, [action-if-given], [action-if-not-given])

However, WITH can be given, but as "no"! No means no, and our configure.ac still needs to learn that, apparently.

Actions

Also available in: Atom PDF