view src/mingw-cfitsio-1-fixes.patch @ 6236:d3d051b4515f

cfitsio: update to v4.1.0 * src/cfitsio.mk: update version, update rule * src/mingw-cfitsio-1-fixes.patch: update patch
author John Donoghue <john.donoghue@ieee.org>
date Fri, 27 May 2022 14:24:31 -0400
parents 97fc509bb1df
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