summaryrefslogtreecommitdiff
path: root/libraries/gtksourceview/fix-pkg-config-use-before-set.patch
blob: 72c7697f9ab68a411b749d1b0625dc42ca6fa4fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
--- configure.orig	2012-09-11 02:15:41.304005832 +0300
+++ configure	2012-09-11 02:17:41.957003984 +0300
@@ -10820,23 +10820,6 @@
 fi
 
 
-if test "$enable_deprecations" = "yes"; then
-	DISABLE_DEPRECATED_CFLAGS="\
--DG_DISABLE_DEPRECATED \
--DGDK_DISABLE_DEPRECATED \
--DGTK_DISABLE_DEPRECATED \
--DGDK_PIXBUF_DISABLE_DEPRECATED \
--DGNOME_DISABLE_DEPRECATED"
-
-	if $PKG_CONFIG --atleast-version 2.90 $GTK_REQUIRED; then
-		DISABLE_DEPRECATED_CFLAGS="$DISABLE_DEPRECATED_CFLAGS -DGSEAL_ENABLE"
-	fi
-
-
-fi
-
-
-
 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 	if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
@@ -10970,6 +10953,20 @@
 
 fi
 
+if test "$enable_deprecations" = "yes"; then
+	DISABLE_DEPRECATED_CFLAGS="\
+-DG_DISABLE_DEPRECATED \
+-DGDK_DISABLE_DEPRECATED \
+-DGTK_DISABLE_DEPRECATED \
+-DGDK_PIXBUF_DISABLE_DEPRECATED \
+-DGNOME_DISABLE_DEPRECATED"
+
+	if $PKG_CONFIG --atleast-version 2.90 $GTK_REQUIRED; then
+		DISABLE_DEPRECATED_CFLAGS="$DISABLE_DEPRECATED_CFLAGS -DGSEAL_ENABLE"
+	fi
+
+
+fi
 
 
 pkg_failed=no