aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-11-28 12:57:25 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-11-28 13:40:01 +0100
commit6d6f77fc251774d14246de794eea86e1da291d1c (patch)
tree1c95e5f2758583e47e0e3a8c484cdda1cae2b168 /configure
parent1d809de12a6bee31860c1156b3afea47331015f1 (diff)
downloadglibc-fw/no-symlinks.zip
glibc-fw/no-symlinks.tar.gz
glibc-fw/no-symlinks.tar.bz2
Add --disable-major-minor-libraries configure optionfw/no-symlinks
This option can be used to increase compatibility with package managers. The name was choosen to avoid confusion with all the different versions (glibc release, soname versions, symbol versions). This patch makes all uses of -$(version).so conditional on the new $(major-minor-libraries) flag. The alternative install targets write the implementation DSOs directly to the locations determined by their sonames, skipping the creation of an intermediate symbolic link. install-symbolic-link in Makerules is updated not to require the $(symbolic-link-list) file because it may not exist in --disable-major-minor-libraries mode. I verified that by default, the install tree is the same as before on x86_64-linux-gnu except for the changes in the manual.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure b/configure
index 2f44b66..808fa8c 100755
--- a/configure
+++ b/configure
@@ -682,6 +682,7 @@ experimental_malloc
enable_werror
all_warnings
force_install
+major_minor_libraries
bindnow
hardcoded_path_in_tests
enable_timezone_tools
@@ -776,6 +777,7 @@ enable_hidden_plt
enable_bind_now
enable_stack_protector
enable_static_nss
+enable_major_minor_libraries
enable_force_install
enable_maintainer_mode
enable_kernel
@@ -1441,6 +1443,10 @@ Optional Features:
Use -fstack-protector[-all|-strong] to detect glibc
buffer overflows
--enable-static-nss build static NSS modules [default=no]
+ --enable-major-minor-libraries
+ install most shared objects under names based on the
+ glibc version, with symbolic links to them
+ [default=yes]
--disable-force-install don't force installation of files from this package,
even if they are older than the installed files
--enable-maintainer-mode
@@ -3463,6 +3469,15 @@ if test x"$static_nss" = xyes || test x"$shared" = xno; then
fi
+# Check whether --enable-major-minor-libraries was given.
+if test "${enable_major_minor_libraries+set}" = set; then :
+ enableval=$enable_major_minor_libraries; major_minor_libraries=$enableval
+else
+ major_minor_libraries=yes
+fi
+
+
+
# Check whether --enable-force-install was given.
if test "${enable_force_install+set}" = set; then :
enableval=$enable_force_install; force_install=$enableval