diff options
author | Andrew Senkevich <andrew.n.senkevich@gmail.com> | 2015-05-14 17:28:06 +0300 |
---|---|---|
committer | Andrew Senkevich <andrew.n.senkevich@gmail.com> | 2015-05-14 18:07:06 +0300 |
commit | 5695d46f5dc0ff2ffbcb0c52b1f6c2ada09c39dc (patch) | |
tree | db2ba80e0b866fedd12253686d09e448e905f39b /configure.ac | |
parent | 202d48dab92e0f031928528589f086835595afe5 (diff) | |
download | glibc-5695d46f5dc0ff2ffbcb0c52b1f6c2ada09c39dc.tar.gz glibc-5695d46f5dc0ff2ffbcb0c52b1f6c2ada09c39dc.tar.xz glibc-5695d46f5dc0ff2ffbcb0c52b1f6c2ada09c39dc.zip |
This is update for configure, build and install of vector math library.
Installation of libm.so as linker script only in case of libmvec.so build. 2015-05-14 Andrew Senkevich <andrew.n.senkevich@gmail.com> * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder. (libmvec): New variable. * configure.ac: Added option for mathvec build. * configure: Regenerated. * mathvec/Depend: New file. * mathvec/Makefile: New file. * shlib-versions: Added libmvec. * math/Makefile: Added rule for libm.so installation.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index def655ab8b..ff66b875e3 100644 --- a/configure.ac +++ b/configure.ac @@ -381,6 +381,12 @@ gnu*) ;; esac +AC_ARG_ENABLE([mathvec], + [AS_HELP_STRING([--enable-mathvec], + [Enable building and installing mathvec @<:@default depends on architecture@:>@])], + [build_mathvec=$enableval], + [build_mathvec=notset]) + # We keep the original values in `$config_*' and never modify them, so we # can write them unchanged into config.make. Everything else uses # $machine, $vendor, and $os, and changes them whenever convenient. @@ -1994,6 +2000,11 @@ for dir in $sysnames; do fi done +if test x"$build_mathvec" = xnotset; then + build_mathvec=no +fi +LIBC_CONFIG_VAR([build-mathvec], [$build_mathvec]) + AC_SUBST(libc_extra_cflags) AC_SUBST(libc_extra_cppflags) |