summaryrefslogtreecommitdiff
path: root/net/libproxy/files/patch-configure
blob: 86ec7097bf13dd49c65dc5882cb3893c6b404f20 (plain) (blame)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
--- configure.orig	2009-02-27 00:08:46.000000000 -0500
+++ configure	2009-02-27 00:09:25.000000000 -0500
@@ -20509,16 +20509,16 @@ fi
 if test "${with_gnome+set}" = set; then
   withval=$with_gnome;
 else
-  test x$have_gconf == xyes &&
-             test x$have_x11   == xyes &&
-             test x$have_xmu   == xyes &&
+  test x$have_gconf = xyes &&
+             test x$have_x11   = xyes &&
+             test x$have_xmu   = xyes &&
              with_gnome=yes
 fi
 
 if test x$with_gnome = xyes; then
-	if test x$have_gconf == xyes && \
-	   test x$have_x11 == xyes && \
-	   test x$have_xmu == xyes; then
+	if test x$have_gconf = xyes && \
+	   test x$have_x11 = xyes && \
+	   test x$have_xmu = xyes; then
 		GNOME_CFLAGS="$x11_CFLAGS $xmu_CFLAGS $gconf_CFLAGS"
 		GNOME_LIBS="$x11_LIBS $xmu_LIBS $gconf_LIBS"
 
@@ -20545,14 +20545,14 @@ fi
 if test "${with_kde+set}" = set; then
   withval=$with_kde;
 else
-  test x$have_x11   == xyes &&
-             test x$have_xmu   == xyes &&
+  test x$have_x11   = xyes &&
+             test x$have_xmu   = xyes &&
              with_kde=yes
 fi
 
 if test x$with_kde = xyes; then
-	if test x$have_x11 == xyes && \
-	   test x$have_xmu == xyes; then
+	if test x$have_x11 = xyes && \
+	   test x$have_xmu = xyes; then
 		KDE_CFLAGS="$x11_CFLAGS $xmu_CFLAGS"
 		KDE_LIBS="$x11_LIBS $xmu_LIBS"
 
@@ -20579,11 +20579,11 @@ fi
 if test "${with_webkit+set}" = set; then
   withval=$with_webkit;
 else
-  test x$have_webkit == xyes && with_webkit=yes
+  test x$have_webkit = xyes && with_webkit=yes
 fi
 
 if test x$with_webkit = xyes; then
-	if test x$have_webkit == xyes; then
+	if test x$have_webkit = xyes; then
 		WEBKIT_CFLAGS="$webkit_CFLAGS"
 		WEBKIT_LIBS="$webkit_LIBS"
 
@@ -20610,11 +20610,11 @@ fi
 if test "${with_mozjs+set}" = set; then
   withval=$with_mozjs;
 else
-  test x$have_mozjs == xyes && with_mozjs=yes
+  test x$have_mozjs = xyes && with_mozjs=yes
 fi
 
 if test x$with_mozjs = xyes; then
-	if test x$have_mozjs == xyes; then
+	if test x$have_mozjs = xyes; then
 		MOZJS_CFLAGS="$mozjs_CFLAGS"
 		MOZJS_LIBS="$mozjs_LIBS"
 
@@ -20641,11 +20641,11 @@ fi
 if test "${with_networkmanager+set}" = set; then
   withval=$with_networkmanager;
 else
-  test x$have_networkmanager == xyes && with_networkmanager=yes
+  test x$have_networkmanager = xyes && with_networkmanager=yes
 fi
 
 if test x$with_networkmanager = xyes; then
-	if test x$have_networkmanager == xyes; then
+	if test x$have_networkmanager = xyes; then
 		NETWORKMANAGER_CFLAGS="$NetworkManager_CFLAGS"
 		NETWORKMANAGER_LIBS="$NetworkManager_LIBS"
 
@@ -21610,7 +21610,7 @@ fi
 
 PLUGINDIR=$libdir/$PACKAGE_NAME/$PACKAGE_VERSION/plugins
 
-CFLAGS="-g -std=c99 $CFLAGS -DPLUGINDIR=\\\"$PLUGINDIR\\\" -DSYSCONFDIR=\\\"$sysconfdir\\\" -D_POSIX_C_SOURCE=1"
+CFLAGS="-g -std=c99 $CFLAGS -DPLUGINDIR=\\\"$PLUGINDIR\\\" -DSYSCONFDIR=\\\"$sysconfdir\\\""
 
 ### Checks for library functions.