Blame patches/curl-8.7.1_pre.local.patch

ed757c
diff -ru curl-8.7.1.orig/curl-config.in curl-8.7.1/curl-config.in
ed757c
--- curl-8.7.1.orig/curl-config.in      2024-03-06 22:16:03.000000000 +0100
ed757c
+++ curl-8.7.1/curl-config.in   2024-04-09 00:07:35.445813553 +0200
ed757c
@@ -152,13 +152,13 @@
ed757c
         if test "X@includedir@" = "X/usr/include"; then
ed757c
           echo "$CPPFLAG_CURL_STATICLIB"
ed757c
         else
ed757c
-          echo "${CPPFLAG_CURL_STATICLIB}-I@includedir@"
ed757c
+          echo "$CPPFLAG_CURL_STATICLIB"
ed757c
         fi
ed757c
         ;;
ed757c
ed757c
     --libs)
ed757c
         if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
ed757c
-           CURLLIBDIR="-L@libdir@ "
ed757c
+           CURLLIBDIR=""
ed757c
         else
ed757c
            CURLLIBDIR=""
ed757c
         fi
ed757c
diff -ru curl-8.7.1.orig/m4/curl-compilers.m4 curl-8.7.1/m4/curl-compilers.m4
ed757c
--- curl-8.7.1.orig/m4/curl-compilers.m4	2024-03-25 09:48:59.000000000 +0100
ed757c
+++ curl-8.7.1/m4/curl-compilers.m4	2024-04-08 23:23:12.804956865 +0200
ed757c
@@ -41,33 +41,6 @@
ed757c
   flags_opt_off="unknown"
ed757c
   #
ed757c
   flags_prefer_cppflags="no"
ed757c
-  #
ed757c
-  CURL_CHECK_COMPILER_DEC_C
ed757c
-  CURL_CHECK_COMPILER_HPUX_C
ed757c
-  CURL_CHECK_COMPILER_IBM_C
ed757c
-  CURL_CHECK_COMPILER_INTEL_C
ed757c
-  CURL_CHECK_COMPILER_CLANG
ed757c
-  CURL_CHECK_COMPILER_GNU_C
ed757c
-  CURL_CHECK_COMPILER_SGI_MIPSPRO_C
ed757c
-  CURL_CHECK_COMPILER_SGI_MIPS_C
ed757c
-  CURL_CHECK_COMPILER_SUNPRO_C
ed757c
-  CURL_CHECK_COMPILER_TINY_C
ed757c
-  #
ed757c
-  if test "$compiler_id" = "unknown"; then
ed757c
-  cat <<_EOF 1>&2
ed757c
-***
ed757c
-*** Warning: This configure script does not have information about the
ed757c
-*** compiler you are using, relative to the flags required to enable or
ed757c
-*** disable generation of debug info, optimization options or warnings.
ed757c
-***
ed757c
-*** Whatever settings are present in CFLAGS will be used for this run.
ed757c
-***
ed757c
-*** If you wish to help the curl project to better support your compiler
ed757c
-*** you can report this and the required info on the libcurl development
ed757c
-*** mailing list: https://lists.haxx.selistinfo/curl-library/
ed757c
-***
ed757c
-_EOF
ed757c
-  fi
ed757c
 ])
ed757c
 
ed757c