From 661a4cec4a239418f22075d78f7acb4bd570a61d Mon Sep 17 00:00:00 2001 From: kaefer Date: Mon, 14 Sep 2015 10:03:17 +0200 Subject: [PATCH] fix glibtoolize detection --- autogen.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 17ad3dab..91e50262 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,6 +1,7 @@ #!/bin/sh -if glibtoolize --version &> /dev/null +glibtoolize=$(which glibtoolize) +if [ ${#glibtoolize} -gt 0 ] then libtoolize=glibtoolize else libtoolize=libtoolize fi