Skip to content

Commit

Permalink
build: Use pkg-config file for curl library.
Browse files Browse the repository at this point in the history
* configure.ac: The pkg-config file for the curl library is named "libcurl.pc".

See: #25
  • Loading branch information
talregev committed Jan 30, 2025
1 parent 5adf9f5 commit eca5e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1639,7 +1639,7 @@ CPPFLAGS="$Z_CPPFLAGS $CPPFLAGS"
LIBS="$Z_LDFLAGS $Z_LIBS $LIBS"
OCTAVE_CHECK_LIB(curl, cURL,
[cURL library not found. The ftp objects, urlread, and urlwrite functions will be disabled.],
[curl/curl.h], [curl_easy_escape])
[curl/curl.h], [curl_easy_escape], [], [], [], [libcurl])
if test -n "$CURL_LIBS"; then
## Additional check on cURL library that was found
AC_CACHE_CHECK([for CURLOPT_DIRLISTONLY in curl/curl.h],
Expand Down

0 comments on commit eca5e37

Please sign in to comment.