mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
build adjustments: commit 9e24b9c7
follow-up
This commit is contained in:
parent
4d28a59fc2
commit
3833765ba5
@ -48,7 +48,7 @@ LIBCURL_LIBS = @LIBCURL_LIBS@
|
|||||||
# This might hold -Werror
|
# This might hold -Werror
|
||||||
CFLAGS += @CURL_CFLAG_EXTRAS@
|
CFLAGS += @CURL_CFLAG_EXTRAS@
|
||||||
|
|
||||||
CFLAG_SYMBOL_HIDING = @CFLAG_SYMBOL_HIDING@
|
CFLAG_CURL_SYMBOL_HIDING = @CFLAG_CURL_SYMBOL_HIDING@
|
||||||
|
|
||||||
# Specify our include paths here, and do it relative to $(top_srcdir) and
|
# Specify our include paths here, and do it relative to $(top_srcdir) and
|
||||||
# $(top_builddir), to ensure that these paths which belong to the library
|
# $(top_builddir), to ensure that these paths which belong to the library
|
||||||
@ -136,9 +136,9 @@ endif
|
|||||||
|
|
||||||
libcurl_la_LDFLAGS = $(UNDEF) $(VERSIONINFO) $(MIMPURE) $(VERSIONED_SYMBOLS) $(LIBCURL_LIBS)
|
libcurl_la_LDFLAGS = $(UNDEF) $(VERSIONINFO) $(MIMPURE) $(VERSIONED_SYMBOLS) $(LIBCURL_LIBS)
|
||||||
|
|
||||||
if DOING_SYMBOL_HIDING
|
if DOING_CURL_SYMBOL_HIDING
|
||||||
libcurl_la_CPPFLAGS = $(AM_CPPFLAGS) -DCURL_HIDDEN_SYMBOLS
|
libcurl_la_CPPFLAGS = $(AM_CPPFLAGS) -DCURL_HIDDEN_SYMBOLS
|
||||||
libcurl_la_CFLAGS = $(AM_CFLAGS) $(CFLAG_SYMBOL_HIDING)
|
libcurl_la_CFLAGS = $(AM_CFLAGS) $(CFLAG_CURL_SYMBOL_HIDING)
|
||||||
else
|
else
|
||||||
libcurl_la_CPPFLAGS = $(AM_CPPFLAGS)
|
libcurl_la_CPPFLAGS = $(AM_CPPFLAGS)
|
||||||
libcurl_la_CFLAGS = $(AM_CFLAGS)
|
libcurl_la_CFLAGS = $(AM_CFLAGS)
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
|
|
||||||
# File version for 'aclocal' use. Keep it a single number.
|
# File version for 'aclocal' use. Keep it a single number.
|
||||||
# serial 17
|
# serial 18
|
||||||
|
|
||||||
dnl CURL_CHECK_OPTION_THREADED_RESOLVER
|
dnl CURL_CHECK_OPTION_THREADED_RESOLVER
|
||||||
dnl -------------------------------------------------
|
dnl -------------------------------------------------
|
||||||
@ -466,21 +466,21 @@ dnl been done to prevent interferences on other tests.
|
|||||||
|
|
||||||
AC_DEFUN([CURL_CONFIGURE_SYMBOL_HIDING], [
|
AC_DEFUN([CURL_CONFIGURE_SYMBOL_HIDING], [
|
||||||
AC_MSG_CHECKING([whether hiding of library internal symbols will actually happen])
|
AC_MSG_CHECKING([whether hiding of library internal symbols will actually happen])
|
||||||
CFLAG_SYMBOL_HIDING=""
|
CFLAG_CURL_SYMBOL_HIDING=""
|
||||||
doing_symbol_hiding="no"
|
doing_symbol_hiding="no"
|
||||||
if test x"$ac_cv_native_windows" != "xyes" &&
|
if test x"$ac_cv_native_windows" != "xyes" &&
|
||||||
test "$want_symbol_hiding" = "yes" &&
|
test "$want_symbol_hiding" = "yes" &&
|
||||||
test "$supports_symbol_hiding" = "yes"; then
|
test "$supports_symbol_hiding" = "yes"; then
|
||||||
doing_symbol_hiding="yes"
|
doing_symbol_hiding="yes"
|
||||||
CFLAG_SYMBOL_HIDING="$symbol_hiding_CFLAGS"
|
CFLAG_CURL_SYMBOL_HIDING="$symbol_hiding_CFLAGS"
|
||||||
AC_DEFINE_UNQUOTED(CURL_EXTERN_SYMBOL, $symbol_hiding_EXTERN,
|
AC_DEFINE_UNQUOTED(CURL_EXTERN_SYMBOL, $symbol_hiding_EXTERN,
|
||||||
[Definition to make a library symbol externally visible.])
|
[Definition to make a library symbol externally visible.])
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
fi
|
fi
|
||||||
AM_CONDITIONAL(DOING_SYMBOL_HIDING, test x$doing_symbol_hiding = xyes)
|
AM_CONDITIONAL(DOING_CURL_SYMBOL_HIDING, test x$doing_symbol_hiding = xyes)
|
||||||
AC_SUBST(CFLAG_SYMBOL_HIDING)
|
AC_SUBST(CFLAG_CURL_SYMBOL_HIDING)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ endif
|
|||||||
EXTRA_DIST = test75.pl test307.pl test610.pl test613.pl test1013.pl \
|
EXTRA_DIST = test75.pl test307.pl test610.pl test613.pl test1013.pl \
|
||||||
test1022.pl Makefile.inc
|
test1022.pl Makefile.inc
|
||||||
|
|
||||||
CFLAG_SYMBOL_HIDING = @CFLAG_SYMBOL_HIDING@
|
CFLAG_CURL_SYMBOL_HIDING = @CFLAG_CURL_SYMBOL_HIDING@
|
||||||
|
|
||||||
# Dependencies (may need to be overriden)
|
# Dependencies (may need to be overriden)
|
||||||
LDADD = $(top_builddir)/lib/libcurl.la @CURL_LIBS@
|
LDADD = $(top_builddir)/lib/libcurl.la @CURL_LIBS@
|
||||||
@ -88,9 +88,9 @@ libhostname_la_LIBADD =
|
|||||||
libhostname_la_DEPENDENCIES =
|
libhostname_la_DEPENDENCIES =
|
||||||
libhostname_la_LDFLAGS = -module -avoid-version $(UNDEF) -rpath /nowhere
|
libhostname_la_LDFLAGS = -module -avoid-version $(UNDEF) -rpath /nowhere
|
||||||
|
|
||||||
if DOING_SYMBOL_HIDING
|
if DOING_CURL_SYMBOL_HIDING
|
||||||
libhostname_la_CPPFLAGS = $(AM_CPPFLAGS) -DCURL_HIDDEN_SYMBOLS
|
libhostname_la_CPPFLAGS = $(AM_CPPFLAGS) -DCURL_HIDDEN_SYMBOLS
|
||||||
libhostname_la_CFLAGS = $(AM_CFLAGS) $(CFLAG_SYMBOL_HIDING)
|
libhostname_la_CFLAGS = $(AM_CFLAGS) $(CFLAG_CURL_SYMBOL_HIDING)
|
||||||
else
|
else
|
||||||
libhostname_la_CPPFLAGS = $(AM_CPPFLAGS)
|
libhostname_la_CPPFLAGS = $(AM_CPPFLAGS)
|
||||||
libhostname_la_CFLAGS = $(AM_CFLAGS)
|
libhostname_la_CFLAGS = $(AM_CFLAGS)
|
||||||
|
Loading…
Reference in New Issue
Block a user