configure

changeset 751
9598ff469033
parent 746
a569148841ff
child 758
606519b4a867
--- a/configure	Sun May 21 16:34:58 2023 +0200
+++ b/configure	Fri Jun 09 21:39:51 2023 +0200
@@ -288,16 +288,12 @@
         else
             break
         fi
-        curl-config --ldflags > /dev/null
+        curl-config libs > /dev/null
         if [ $? -eq 0 ]; then
-            LDFLAGS="$LDFLAGS `curl-config --ldflags`"
+            LDFLAGS="$LDFLAGS `curl-config libs`"
         else
             break
         fi
-        which curl-config > /dev/null
-        if [ $? -ne 0 ]; then
-        	break
-        fi
 		echo yes
         return 0
     done

mercurial