about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorAndrew Senkevich <andrew.senkevich@intel.com>2015-04-28 13:48:23 +0300
committerAndrew Senkevich <andrew.n.senkevich@gmail.com>2015-04-28 13:48:23 +0300
commitec3a4b85a8568795e30307e1c2f892cdb5ffafe6 (patch)
tree915fbb831dc54785db663ede155d43ee7438d9a6 /configure
parenta50ac6ec0a8e23e1b062e92545606951747c8b8c (diff)
downloadglibc-ec3a4b85a8568795e30307e1c2f892cdb5ffafe6.tar.gz
glibc-ec3a4b85a8568795e30307e1c2f892cdb5ffafe6.tar.xz
glibc-ec3a4b85a8568795e30307e1c2f892cdb5ffafe6.zip
This is infrastructure update for configure, build and install of vector andros/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')
-rwxr-xr-xconfigure17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure b/configure
index 97e549eef5..1e4138b524 100755
--- a/configure
+++ b/configure
@@ -777,6 +777,7 @@ enable_systemtap
 enable_build_nscd
 enable_nscd
 enable_pt_chown
+enable_mathvec
 with_cpu
 '
       ac_precious_vars='build_alias
@@ -1441,6 +1442,8 @@ Optional Features:
   --disable-build-nscd    disable building and installing the nscd daemon
   --disable-nscd          library functions will not contact the nscd daemon
   --enable-pt_chown       Enable building and installing pt_chown
+  --enable-mathvec        Enable building and installing mathvec [default
+                          depends on architecture]
 
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
@@ -3845,6 +3848,14 @@ gnu*)
   ;;
 esac
 
+# Check whether --enable-mathvec was given.
+if test "${enable_mathvec+set}" = set; then :
+  enableval=$enable_mathvec; build_mathvec=$enableval
+else
+  build_mathvec=notset
+fi
+
+
 # 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.
@@ -7215,6 +7226,12 @@ $as_echo "running configure fragment for $dir" >&6; }
   fi
 done
 
+if test x"$build_mathvec" = xnotset; then
+  build_mathvec=no
+fi
+config_vars="$config_vars
+build-mathvec = $build_mathvec"
+