Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Check whether glibtoolize is available in addition to libtoolize
macOS doesn't have libtoolize and GNU libtool only installs glibtoolize.

Signed-off-by: Joerg Mayer <jmayer@loplof.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
Joerg Mayer authored and dwmw2 committed Aug 9, 2018
1 parent 4d1c45c commit b48ce60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autogen.sh
@@ -1,5 +1,6 @@
#!/bin/sh

$(type glibtoolize >/dev/null 2>&1) && LIBTOOLIZE=${LIBTOOLIZE:-glibtoolize}
aclocal -I m4 && \
${LIBTOOLIZE:-libtoolize} --automake --force && \
autoheader --force &&
Expand Down

0 comments on commit b48ce60

Please sign in to comment.