[Pkg-privacy-commits] [nautilus-wipe] 13/20: build: Really use "auto" as the value for auto-detecting GTK version
Intrigeri
intrigeri at moszumanska.debian.org
Tue Jul 12 16:14:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to branch experimental
in repository nautilus-wipe.
commit e71053e9fc26a35a7da383334c23506ddd28e39b
Author: Colomban Wendling <ban at herbesfolles.org>
Date: Sat Jul 9 15:38:46 2016 +0200
build: Really use "auto" as the value for auto-detecting GTK version
This allows a caller to explicitly pass `--with-gtk3=auto` as the help
string suggests, rather than having to use `check`.
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1cba2f0..7f77203 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,11 +39,11 @@ AC_ARG_WITH([gtk3],
[AS_HELP_STRING([--with-gtk3],
[whether to build with GTK2 or GTK3 [[default=auto]]])],
[with_gtk3="$withval"],
- [with_gtk3=check])
+ [with_gtk3=auto])
# use GTK3 by default but if not found
AC_MSG_CHECKING([for GTK package to use])
gtk_pkg="gtk+-3.0"
-AS_IF([test "x$with_gtk3" = xcheck],
+AS_IF([test "x$with_gtk3" = xauto],
[PKG_CHECK_EXISTS([$gtk_pkg >= ${GTK_REQUIRED}],
[],
[gtk_pkg="gtk+-2.0"])],
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/nautilus-wipe.git
More information about the Pkg-privacy-commits
mailing list