summaryrefslogtreecommitdiff
path: root/devel/gearmand-devel/files/patch-configure
blob: 9651acdd405f4604b5958597c64eb3bafecb6ded (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
--- configure.orig	2013-06-06 23:06:29 UTC
+++ configure
@@ -16844,11 +16844,6 @@ fi
 $as_echo "$boost_cv_lib_version" >&6; }
     # e.g. "134" for 1_34_1 or "135" for 1_35
     boost_major_version=`echo "$boost_cv_lib_version" | sed 's/_//;s/_.*//'`
-    case $boost_major_version in #(
-      '' | *[!0-9]*)
-        as_fn_error $? "invalid value: boost_major_version=$boost_major_version" "$LINENO" 5
-        ;;
-    esac
 fi
 CPPFLAGS=$boost_save_CPPFLAGS
 
@@ -17976,7 +17971,7 @@ fi
 done
 test -n "$CURL_CONFIG" || CURL_CONFIG="no"
 
-    if test "$CURL_CONFIG" == "no"; then :
+    if test "$CURL_CONFIG" = "no"; then :
 
       :
 
@@ -17986,7 +17981,7 @@ $as_echo "#define HAVE_LIBCURL 0" >>confdefs.h
 
 else
 
-            if test x"" == x; then :
+            if test x"" = x; then :
 
 	CURL_CFLAGS="`$CURL_CONFIG $curl_config_args --cflags`"
 
@@ -17996,7 +17991,7 @@ else
 
 fi
 
-            if test x"" == x; then :
+            if test x"" = x; then :
 
 	CURL_LIBS="`$CURL_CONFIG $curl_config_args --libs`"
 
@@ -23954,8 +23949,8 @@ else
       LIBS="$PTHREAD_LIBS"
       ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS -Werror conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS -Werror $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext