From db2622a63bd5468f76436b2ea2c4f8f711880456 Mon Sep 17 00:00:00 2001
From: Vasyl Sokolyk <[EMAIL REDACTED]>
Date: Wed, 19 Jan 2022 13:17:38 +0000
Subject: [PATCH 1/2] libtoolize: command not found on macOS.
Typically need to use glibtool and glibtoolize, since libtool already exists on OS X as a binary
More details you can read here here https://stackoverflow.com/questions/15448582/installed-libtool-but-libtoolize-not-found/15448876
---
autogen.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/autogen.sh b/autogen.sh
index 9ef71b53..189f9f45 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,6 +1,7 @@
#!/bin/sh
set -x
-libtoolize --force --copy
+case `uname` in Darwin*) glibtoolize --force --copy ;;
+ *) libtoolize --force --copy ;; esac
aclocal -I ./m4
autoheader
automake --foreign --add-missing --copy
From 7d5ad29ed0926d3591c19eac257e290a09e8c2eb Mon Sep 17 00:00:00 2001
From: Timothy Lyanguzov <theta682@gmail.com>
Date: Thu, 20 Jan 2022 22:20:11 +0000
Subject: [PATCH 2/2] Apply 1 suggestion(s) to 1 file(s)
---
autogen.sh | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index 189f9f45..9d869d65 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,7 +1,13 @@
#!/bin/sh
set -x
-case `uname` in Darwin*) glibtoolize --force --copy ;;
- *) libtoolize --force --copy ;; esac
+case `uname` in
+ Darwin*)
+ glibtoolize --force --copy
+ ;;
+ *)
+ libtoolize --force --copy
+ ;;
+esac
aclocal -I ./m4
autoheader
automake --foreign --add-missing --copy