summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasyl Sokolyk <vsokolyk@gmail.com>2022-01-19 13:17:38 +0000
committerVasyl Sokolyk <vsokolyk@gmail.com>2022-01-19 13:17:38 +0000
commitdb2622a63bd5468f76436b2ea2c4f8f711880456 (patch)
tree2573fe7c9d1b9e6ff88119a4656d852f9a578133
parent8a481db9b52658b91d6b8d3053192b5617c56e78 (diff)
downloadlibtiff-git-db2622a63bd5468f76436b2ea2c4f8f711880456.tar.gz
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
-rwxr-xr-xautogen.sh3
1 files changed, 2 insertions, 1 deletions
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