diff options
author | Andrew Senkevich <andrew.senkevich@intel.com> | 2015-04-28 13:48:23 +0300 |
---|---|---|
committer | Andrew Senkevich <andrew.n.senkevich@gmail.com> | 2015-04-28 13:48:23 +0300 |
commit | ec3a4b85a8568795e30307e1c2f892cdb5ffafe6 (patch) | |
tree | 915fbb831dc54785db663ede155d43ee7438d9a6 /configure.ac | |
parent | a50ac6ec0a8e23e1b062e92545606951747c8b8c (diff) | |
download | glibc-andros/libmvec.zip glibc-andros/libmvec.tar.gz glibc-andros/libmvec.tar.bz2 |
This is infrastructure update for configure, build and install of vectorandros/libmvec
math library. Installation of libm.so as linker script only in case of
libmvec.so build.
2015-04-28 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 def655a..ff66b87 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) |