Blame cutter-configure-gtk-debug-detection.diff
|
kenhys |
5978273 |
diff --git a/configure.ac b/configure.ac
|
|
kenhys |
5978273 |
index 903fb02..1a6b6bc 100644
|
|
kenhys |
5978273 |
--- a/configure.ac
|
|
kenhys |
5978273 |
+++ b/configure.ac
|
|
kenhys |
5978273 |
@@ -353,10 +353,8 @@ if test "$gtk_exists" != "no"; then
|
|
kenhys |
5978273 |
AC_RUN_IFELSE([AC_LANG_PROGRAM([
|
|
kenhys |
5978273 |
#include <stdlib.h>
|
|
kenhys |
5978273 |
#include <gtk/gtk.h>
|
|
kenhys |
5978273 |
-
|
|
kenhys |
5978273 |
-int
|
|
kenhys |
5978273 |
-main (int argc, char **argv)
|
|
kenhys |
5978273 |
-{
|
|
kenhys |
5978273 |
+ ],
|
|
kenhys |
5978273 |
+ [
|
|
kenhys |
5978273 |
GOptionGroup *option_group;
|
|
kenhys |
5978273 |
GOptionContext *option_context;
|
|
kenhys |
5978273 |
gchar *help;
|
|
kenhys |
5978273 |
@@ -373,7 +371,6 @@ main (int argc, char **argv)
|
|
kenhys |
5978273 |
g_option_context_free(option_context);
|
|
kenhys |
5978273 |
|
|
kenhys |
5978273 |
return debug_mode ? EXIT_SUCCESS : EXIT_FAILURE;
|
|
kenhys |
5978273 |
-}
|
|
kenhys |
5978273 |
])],
|
|
kenhys |
5978273 |
[AC_DEFINE(HAVE_GTK_ENABLE_DEBUG, 1,
|
|
kenhys |
5978273 |
[Define to 1 if you have GTK+ installed and built with debug mode])
|