mirror of
https://github.com/moparisthebest/curl
synced 2025-01-11 22:18:00 -05:00
Allow curl debug memory tracking when building a shared library on
systems which support external, undefined, symbols in shared libraries.
This commit is contained in:
parent
e73fb6808a
commit
34c9ec4e1a
@ -16,7 +16,7 @@
|
|||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
|
|
||||||
# File version for 'aclocal' use. Keep it a single number.
|
# File version for 'aclocal' use. Keep it a single number.
|
||||||
# serial 52
|
# serial 53
|
||||||
|
|
||||||
|
|
||||||
dnl CARES_CHECK_COMPILER
|
dnl CARES_CHECK_COMPILER
|
||||||
@ -1095,13 +1095,17 @@ AC_DEFUN([CARES_CHECK_CURLDEBUG], [
|
|||||||
supports_curldebug="no"
|
supports_curldebug="no"
|
||||||
fi
|
fi
|
||||||
if test "$supports_curldebug" != "no"; then
|
if test "$supports_curldebug" != "no"; then
|
||||||
if test "$enable_shared" != "no"; then
|
if test "$enable_shared" = "yes"; then
|
||||||
AC_MSG_WARN([configured to build shared library.])
|
if test "x$allow_undefined" = "xno"; then
|
||||||
supports_curldebug="no"
|
supports_curldebug="no"
|
||||||
fi
|
elif test "x$allow_undefined_flag" = "xunsupported"; then
|
||||||
if test "$enable_static" != "yes"; then
|
supports_curldebug="no"
|
||||||
AC_MSG_WARN([configured to build no static library.])
|
elif test "x$need_no_undefined" = "xyes"; then
|
||||||
supports_curldebug="no"
|
supports_curldebug="no"
|
||||||
|
fi
|
||||||
|
if test "$supports_curldebug" = "no"; then
|
||||||
|
AC_MSG_WARN([shared library does not support undefined symbols.])
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if test ! -f "$srcdir/../include/curl/curlbuild.h.dist"; then
|
if test ! -f "$srcdir/../include/curl/curlbuild.h.dist"; then
|
||||||
AC_MSG_WARN([source not embedded in curl's CVS tree.])
|
AC_MSG_WARN([source not embedded in curl's CVS tree.])
|
||||||
|
Loading…
Reference in New Issue
Block a user