view src/mingw-cfitsio-1-fixes.patch @ 6354:9d1395334e68

mingw-w64: Handle negative zero input for cacosh (bug #49091). * src/mingw-w64-complex-inverse-trig.patch: Handle negative zero input for cacosh.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 05 Aug 2022 19:32:03 +0200
parents d3d051b4515f
children
line wrap: on
line source

diff -ur cfitsio-4.1.0.orig/configure.in cfitsio-4.1.0/configure.in
--- cfitsio-4.1.0.orig/configure.in	2022-05-26 08:43:32.205001801 -0400
+++ cfitsio-4.1.0/configure.in	2022-05-26 08:44:53.020552448 -0400
@@ -489,7 +489,7 @@
 if test "x$ADD_CURL" = xyes; then
   # Use curl-config to get compiler & linker flags, if available.
   AC_CHECK_PROG([CURLCONFIG], [curl-config], [curl-config], [], [], [])
-  if test "x$CURLCONFIG" != x; then
+  if test "x$CURLCONFIG" != x && test "x$CURLCONFIG" != "xnone"; then
     CURL_LIB=`$CURLCONFIG --libs`
     CURL_INC=`$CURLCONFIG --cflags`
     if test "x$CURL_LIB" != x; then