view src/mingw-cfitsio-1-fixes.patch @ 6495:53ac6c68aabc

* src/qtbase.mk, src/qtimageformats.mk, src/qtsvg.mk, src/qttools.mk, src/qttranslations.mk : update to v5.15.7
author John Donoghue <john.donoghue@ieee.org>
date Sun, 30 Oct 2022 20:02:19 -0400
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