mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 10:21:21 +00:00
config.d/networking.m4: fix check for libcurl.
This commit is contained in:
parent
b59ffd4cf1
commit
8a5b16d6ab
1 changed files with 4 additions and 2 deletions
|
@ -4,9 +4,11 @@ dnl ==================================================================
|
|||
|
||||
if test "x$PKG_CONFIG" != "x"; then
|
||||
PKG_CHECK_MODULES([LIBCURL], [libcurl], HAVE_LIBCURL=yes, HAVE_LIBCURL=no)
|
||||
if test "x$HAVE_LIBCURL" = xyes; then
|
||||
AC_DEFINE(HAVE_LIBCURL,1,
|
||||
[Define to 1 if you have a functional curl library.])
|
||||
fi
|
||||
CURL=$HAVE_LIBCURL
|
||||
AC_DEFINE(HAVE_LIBCURL,1,
|
||||
[Define to 1 if you have a functional curl library.])
|
||||
else
|
||||
LIBCURL_CHECK_CONFIG([], [], [CURL=yes], [])
|
||||
LIBCURL_LIBS=$LIBCURL
|
||||
|
|
Loading…
Reference in a new issue