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] 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