From a69b6eb561fadb4c2c9f09b700950af7ce43b378 Mon Sep 17 00:00:00 2001 From: Malte Mues Date: Wed, 7 Oct 2020 08:50:45 +0200 Subject: [PATCH] Improve OSX support by adding os detection and adapting calls for OSX. (#5023) On OSX there is another libtoolize tool already available. The gnu libtoolize version installed with MacPorts or brew is called glibtoolize. This change makes it easier to run the file on OSX. Signed-off-by: Malte Mues (mail.mues@gmail.com) --- contrib/get-glpk-cut-log | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/get-glpk-cut-log b/contrib/get-glpk-cut-log index 951e10620..17ace0dcd 100755 --- a/contrib/get-glpk-cut-log +++ b/contrib/get-glpk-cut-log @@ -20,7 +20,11 @@ cd "$GLPK_DIR" patch -p1 < ${patch_file} -libtoolize +if [[ "$OSTYPE" == "darwin"* ]]; then + glibtoolize +else + libtoolize +fi aclocal autoheader autoconf -- 2.30.2