From 88fd4d1514b4e23cddb3409f74d09349d6ff2f3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20P=C3=B6chtrager?= Date: Tue, 14 Oct 2014 23:39:29 +0200 Subject: [PATCH] prefer glibtoolize over libtoolize --- cctools/autogen.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/cctools/autogen.sh b/cctools/autogen.sh index adc65d21..c71d4470 100755 --- a/cctools/autogen.sh +++ b/cctools/autogen.sh @@ -11,5 +11,14 @@ fi mkdir -p m4 aclocal autoconf -libtoolize -c -i + +which glibtoolize &>/dev/null + +if [ $? -eq 0 ]; then + glibtoolize -c -i +else + libtoolize -c -i +fi + automake -a -c +