diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-09-04 15:25:42 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-09-04 15:25:42 +0000 |
commit | 3f2e46a4948c846023275eb7a8c86ede0313cd2f (patch) | |
tree | 963a5dfe20f51d8cb5b8e2a6435c8fee9bb878f0 /configure.in | |
parent | 44558701ff93118de40d5d5484e210149570f951 (diff) | |
download | glibc-3f2e46a4948c846023275eb7a8c86ede0313cd2f.tar glibc-3f2e46a4948c846023275eb7a8c86ede0313cd2f.tar.gz glibc-3f2e46a4948c846023275eb7a8c86ede0313cd2f.tar.bz2 glibc-3f2e46a4948c846023275eb7a8c86ede0313cd2f.zip |
Remove --disable-versioning.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/configure.in b/configure.in index 9172ad10e4..be1330850c 100644 --- a/configure.in +++ b/configure.in @@ -150,11 +150,6 @@ AC_ARG_ENABLE([profile], [build profiled library @<:@default=no@:>@]), [profile=$enableval], [profile=no]) -AC_ARG_ENABLE([versioning], - AC_HELP_STRING([--disable-versioning], - [do not include versioning information in the library objects @<:@default=yes if supported@:>@]), - [enable_versioning=$enableval], - [enable_versioning=yes]) AC_ARG_ENABLE([oldest-abi], AC_HELP_STRING([--enable-oldest-abi=ABI], @@ -1204,70 +1199,6 @@ if test $libc_cv_asm_unique_object = yes; then AC_DEFINE(HAVE_ASM_UNIQUE_OBJECT) fi -AC_CACHE_CHECK(for .symver assembler directive, libc_cv_asm_symver_directive, -[cat > conftest.s <<EOF -${libc_cv_dot_text} -_sym: -.symver _sym,sym@VERS -EOF -if ${CC-cc} -c $ASFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD; then - libc_cv_asm_symver_directive=yes -else - libc_cv_asm_symver_directive=no -fi -rm -f conftest*]) -AC_CACHE_CHECK(for ld --version-script, libc_cv_ld_version_script_option, [dnl -if test $libc_cv_asm_symver_directive = yes; then - cat > conftest.s <<EOF -${libc_cv_dot_text} -_sym: -.symver _sym,sym@VERS -EOF - cat > conftest.map <<EOF -VERS_1 { - global: sym; -}; - -VERS_2 { - global: sym; -} VERS_1; -EOF - if ${CC-cc} -c $ASFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD; then - if AC_TRY_COMMAND([${CC-cc} $CFLAGS $LDFLAGS -shared - -o conftest.so conftest.o - -nostartfiles -nostdlib - -Wl,--version-script,conftest.map - 1>&AS_MESSAGE_LOG_FD]); - then - libc_cv_ld_version_script_option=yes - else - libc_cv_ld_version_script_option=no - fi - else - libc_cv_ld_version_script_option=no - fi -else - libc_cv_ld_version_script_option=no -fi -rm -f conftest*]) -if test $shared != no && - test $libc_cv_asm_symver_directive = yes && - test $libc_cv_ld_version_script_option = yes && - test $enable_versioning = yes; then - VERSIONING=yes - AC_DEFINE(DO_VERSIONING) -else - VERSIONING=no -fi -AC_SUBST(VERSIONING) - -if test $shared != no && test $VERSIONING = no; then - echo "\ -*** WARNING: You should not compile GNU libc without versioning. Not using -*** versioning will introduce incompatibilities so that old binaries -*** will not run anymore. -*** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)." -fi AC_CACHE_CHECK(for .previous assembler directive, libc_cv_asm_previous_directive, [dnl cat > conftest.s <<EOF |