summaryrefslogtreecommitdiff
path: root/ftp/curlpp/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/curlpp/files/patch-configure')
-rw-r--r--ftp/curlpp/files/patch-configure31
1 files changed, 31 insertions, 0 deletions
diff --git a/ftp/curlpp/files/patch-configure b/ftp/curlpp/files/patch-configure
new file mode 100644
index 000000000000..9bf57dcfb718
--- /dev/null
+++ b/ftp/curlpp/files/patch-configure
@@ -0,0 +1,31 @@
+--- configure.orig Thu Jun 19 05:17:22 2003
++++ configure Fri Feb 13 02:02:21 2004
+@@ -6598,19 +6598,6 @@
+ { echo "configure: error: *** curl-config not found. You need a working libcurl installation." 1>&2; exit 1; }
+ fi
+
+-echo $ac_n "checking if libcurl version is >= 7.10.0""... $ac_c" 1>&6
+-echo "configure:6603: checking if libcurl version is >= 7.10.0" >&5
+-curl_version_needed="16#070a00"
+-curl_version=`$HAVECURL --vernum`
+-curl_version=$(echo "16#"$curl_version)
+-if let $curl_version -ge $curl_version_needed; then
+- echo "$ac_t""yes" 1>&6
+-else
+- echo "$ac_t""no" 1>&6
+- { echo "configure: error: *** libcurl is too old. You need a libcurl installation newer
+- or equal to 7.10.0." 1>&2; exit 1; }
+-fi
+-
+ echo $ac_n "checking warning make an error on compilation""... $ac_c" 1>&6
+ echo "configure:6616: checking warning make an error on compilation" >&5
+ # Check whether --enable-ewarning or --disable-ewarning was given.
+@@ -6646,7 +6633,7 @@
+
+
+
+-CXXFLAGS="$CFLAGS $CURLPP_CFLAGS"
++CXXFLAGS="$CXXFLAGS $CURLPP_CFLAGS"
+
+ trap '' 1 2 15
+ cat > confcache <<\EOF