Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
8dabd344
Commit
8dabd344
authored
16 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
Introduced the configure option --enable-soname-bump that lets a user enforce
an SONAME bump.
parent
a104a365
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
configure.ac
+23
-0
23 additions, 0 deletions
configure.ac
lib/Makefile.am
+15
-2
15 additions, 2 deletions
lib/Makefile.am
lib/README.curl_off_t
+11
-4
11 additions, 4 deletions
lib/README.curl_off_t
with
49 additions
and
6 deletions
configure.ac
+
23
−
0
View file @
8dabd344
...
...
@@ -2492,6 +2492,29 @@ AC_HELP_STRING([--disable-hidden-symbols],[Leave all symbols with default visibi
AC_MSG_RESULT(no)
)
dnl ************************************************************
dnl enforce SONAME bump
dnl
soname_bump=no
AC_MSG_CHECKING([whether to enforce SONAME bump])
AC_ARG_ENABLE(soname-bump,
AC_HELP_STRING([--enable-soname-bump],[Enable enforced SONAME bump])
AC_HELP_STRING([--disable-soname-bump],[Disable enforced SONAME bump]),
[ case "$enableval" in
yes) AC_MSG_RESULT(yes)
soname_bump=yes
;;
*)
AC_MSG_RESULT(nope: $enableval)
;;
esac ],
AC_MSG_RESULT(nono)
)
AM_CONDITIONAL(SONAME_BUMP, test x$soname_bump = xyes)
dnl ************************************************************
if test ! -z "$winsock_LIB"; then
...
...
This diff is collapsed.
Click to expand it.
lib/Makefile.am
+
15
−
2
View file @
8dabd344
...
...
@@ -58,7 +58,20 @@ INCLUDES = -I$(top_builddir)/include \
-I
$(
top_builddir
)
/lib
\
-I
$(
top_srcdir
)
/lib
VERSION
=
-version-info
5:0:1
if
SONAME_BUMP
#
# Bumping of SONAME conditionally may seem like a weird thing to do, and yeah
# it is. The problem is that we try to avoid the bump as hard as possible, but
# yet it is still necessary for a few rare situations. The configure script will
# attempt to figure out these situations, and it can be forced to consider this
# to be such a case! See README.curl_off_t for further details.
#
# This conditional soname bump SHOULD be removed at next "proper" bump.
#
VERSIONINFO
=
-version-info
6:0:1
else
VERSIONINFO
=
-version-info
5:0:1
endif
# This flag accepts an argument of the form current[:revision[:age]]. So,
# passing -version-info 3:12:1 sets current to 3, revision to 12, and age to
...
...
@@ -99,7 +112,7 @@ if MIMPURE
MIMPURE
=
-mimpure-text
endif
libcurl_la_LDFLAGS
=
$(
UNDEF
)
$(
VERSION
)
$(
MIMPURE
)
$(
LIBCURL_LIBS
)
libcurl_la_LDFLAGS
=
$(
UNDEF
)
$(
VERSION
INFO
)
$(
MIMPURE
)
$(
LIBCURL_LIBS
)
# Makefile.inc provides the CSOURCES and HHEADERS defines
include
Makefile.inc
...
...
This diff is collapsed.
Click to expand it.
lib/README.curl_off_t
+
11
−
4
View file @
8dabd344
...
...
@@ -42,7 +42,14 @@ track and detect by users of libcurl.
SONAME
------
We opted to not bump the soname for the library, simply because soname bumping
is causing a lot of grief and moaning all over the community so we try to keep
that at minimum. Also, our selected design path should be 100% backwards
compatible for the vast majority of all libcurl users.
We opted to not bump the soname for the library unconditionally, simply
because soname bumping is causing a lot of grief and moaning all over the
community so we try to keep that at minimum. Also, our selected design path
should be 100% backwards compatible for the vast majority of all libcurl
users.
Enforce SONAME bump
-------------------
If configure doesn't detect your case where a bump is necessary, re-run it
with the --enable-soname-bump command line option!
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment