diff options
author | Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> | 2014-12-09 20:48:48 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2014-12-09 15:48:48 -0500 |
commit | dd9133238205adddf820bff279575c2348f8c13a (patch) | |
tree | 10510d74a5813885f41938cf584b9c70b5f0e1b3 /libgcc/configure | |
parent | 2712de789246fe33190a41d2a8d7d652027a34b8 (diff) | |
download | gcc-dd9133238205adddf820bff279575c2348f8c13a.zip gcc-dd9133238205adddf820bff279575c2348f8c13a.tar.gz gcc-dd9133238205adddf820bff279575c2348f8c13a.tar.bz2 |
(libgcc_s) Optional filename-based shared library versioning on AIX.
2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
(libgcc_s) Optional filename-based shared library versioning on AIX.
* gcc/doc/install.texi: Describe --with-aix-soname option.
* Makefile.in (with_aix_soname): Define.
* config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
* configure.ac: Accept --with-aix-soname=aix|svr4|both option.
* configure: Recreate.
From-SVN: r218539
Diffstat (limited to 'libgcc/configure')
-rw-r--r-- | libgcc/configure | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libgcc/configure b/libgcc/configure index 8792465..8480dd1 100644 --- a/libgcc/configure +++ b/libgcc/configure @@ -610,6 +610,7 @@ build_os build_vendor build_cpu build +with_aix_soname enable_vtable_verify enable_shared libgcc_topdir @@ -659,6 +660,7 @@ with_cross_host with_ld enable_shared enable_vtable_verify +with_aix_soname enable_version_specific_runtime_libs with_slibdir enable_maintainer_mode @@ -1317,6 +1319,9 @@ Optional Packages: --with-target-subdir=SUBDIR Configuring in a subdirectory for target --with-cross-host=HOST Configuring with a cross compiler --with-ld arrange to use the specified ld (full pathname) + --with-aix-soname=aix|svr4|both + shared library versioning (aka "SONAME") variant to + provide on AIX --with-slibdir=DIR shared libraries in DIR LIBDIR --with-build-libsubdir=DIR Directory where to find libraries for build system --with-system-libunwind use installed libunwind @@ -2166,6 +2171,29 @@ fi + +# Check whether --with-aix-soname was given. +if test "${with_aix_soname+set}" = set; then : + withval=$with_aix_soname; case "${host}:${enable_shared}" in + power*-*-aix[5-9]*:yes) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide for shared libgcc" >&5 +$as_echo_n "checking which variant of shared library versioning to provide for shared libgcc... " >&6; } + case ${withval} in + aix|svr4|both) ;; + *) as_fn_error "Unknown argument to --with-aix-soname" "$LINENO" 5;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5 +$as_echo "$withval" >&6; } + ;; + *) with_aix_soname=aix ;; + esac + +else + with_aix_soname=aix +fi + + + # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |