view tools/build-make.sh @ 6335:0825abaf61a7

mingw-w64: Special case for large input for complex inverse trigonometric functions (bug #49091). * src/mingw-w64-complex-inverse-trig.patch: Add patch for mingw-w64 CRT that implements a special case for large input for complex inverse trigonometric functions cacosh and casinh (and therefore functions that are derived from it, like cacos and casin). * dist-files.mk: Add new patch to list.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 23 Jul 2022 19:00:09 +0200
parents a11736295721
children
line wrap: on
line source

#! /bin/sh

## Run from top-level mxe-octave directory.

set -e

top_dir=`pwd`

make_ver="4.1"
make_dir="make-$make_ver"
make_pkg="$make_dir.tar.gz"

if [ ! -d pkg ]; then
  mkdir pkg
fi

if [ ! -f pkg/$make_pkg ]; then
  wget ftp://ftp.gnu.org/gnu/make/$make_pkg -O pkg/$make_pkg
fi

rm -rf $make_dir

tar zxf pkg/$make_pkg

cd $make_dir

./configure --prefix=$top_dir/usr

make

make install

cd $top_dir

rm -rf $make_dir