[mednaffe] 01/01: Clear up error messages when compiling (issue #30)

Stephen Kitt skitt at moszumanska.debian.org
Tue Nov 22 22:42:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

skitt pushed a commit to branch upstream
in repository mednaffe.

commit 7167ed37cfd6669b11404fc0d04c9ce22bd19dcd
Author: AmatCoder <AmatCoder at users.noreply.github.com>
Date:   Sun Nov 20 19:01:33 2016 +0000

    Clear up error messages when compiling (issue #30)
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 02a827c..f1aa2f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,11 +23,11 @@ else
 fi
 
 if test "x$enable_gtk3" = xyes; then
-  PKG_CHECK_MODULES([GTK],[gtk+-3.0 >= 3.4 glib-2.0 >= 2.28 gthread-2.0], AC_MSG_NOTICE([GTK 3.x selected explicitly]), AC_MSG_ERROR(Mednaffe needs GTK+ >= 3.4))
+  PKG_CHECK_MODULES([GTK],[gtk+-3.0 >= 3.4 glib-2.0 >= 2.28 gthread-2.0], AC_MSG_NOTICE([GTK 3.x selected explicitly]), AC_MSG_ERROR(Mednaffe needs GTK+ >= 3.4 development libraries))
   GTK_DEFINES="-DGTK3_ENABLED"
   AC_DEFINE([GTK3_ENABLED],[1],[Define to 1 if you have GTK 3])
 else
-  PKG_CHECK_MODULES([GTK],[gtk+-2.0 >= 2.24 glib-2.0 >= 2.28 gthread-2.0], AC_MSG_NOTICE([selecting GTK 2.x automatically]), AC_MSG_ERROR(Mednaffe needs GTK+ >= 2.24))
+  PKG_CHECK_MODULES([GTK],[gtk+-2.0 >= 2.24 glib-2.0 >= 2.28 gthread-2.0], AC_MSG_NOTICE([selecting GTK 2.x automatically]), AC_MSG_ERROR(Mednaffe needs GTK+ >= 2.24 development libraries))
   GTK_DEFINES="-DGTK2_ENABLED"
   AC_DEFINE([GTK2_ENABLED],[1],[Define to 1 if you have GTK 2])
 fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mednaffe.git



More information about the Pkg-games-commits mailing list