summaryrefslogtreecommitdiffhomepage
path: root/patches/isync-1.4.4_pre.local.patch
blob: 5298bbd7c376284b988adb7e4aee5f8856d376b2 (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
48
49
50
51
52
53
54
55
56
diff -ru isync-1.4.4.orig/configure isync-1.4.4/configure
--- isync-1.4.4.orig/configure	2021-12-03 11:56:24.000000000 +0100
+++ isync-1.4.4/configure	2021-12-08 13:22:51.039227486 +0100
@@ -4534,52 +4534,6 @@
 fi
 
 
-if test "$GCC" = yes; then
-    warnings="
-        -Wall -Wextra
-        -Wshadow
-        -Wcast-qual
-        -Wformat=2 -Wformat-signedness -Wformat-nonliteral
-        -Wstrict-prototypes
-
-        -Wno-overlength-strings
-    "
-    CFLAGS="$CFLAGS -pipe -std=c11 -pedantic $(echo $warnings)"
-fi
-
-
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-void fkt(void)
-{
-    int a = 42;  // c99 comment
-
-    for (int i = 0; i < a; i++) {}  // declaration inside for()
-    int b;  // declaration after code
-}
-
-// c11 anonymous structs/unions
-struct base {
-    int a;
-};
-union deriv {
-    struct base gen;
-    struct {
-        int a;
-        int b;
-    };
-};
-
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
-
-else $as_nop
-  as_fn_error $? "compiler does not support required C11 features" "$LINENO" 5
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
-
 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
 
 # Extract the first word of "perl", so it can be a program name with args.