summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBenedikt Meurer <benedikt.meurer@googlemail.com>2010-12-19 12:13:19 +0100
committerBenedikt Meurer <benedikt.meurer@googlemail.com>2010-12-19 12:13:19 +0100
commite9f246a0486cc03168f7a8b47fadb64a9843da30 (patch)
treecb6779df08bc929c8ad843d9bab46b432fe4235d /scripts
parentd1702a893ff5f2c0fdf3cb0779360d155004efb1 (diff)
downloadxfce4-dev-tools-e9f246a0486cc03168f7a8b47fadb64a9843da30.tar.gz
Check for glibtoolize.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/xdt-autogen.in.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/xdt-autogen.in.in b/scripts/xdt-autogen.in.in
index 3a128e4..b5a075c 100644
--- a/scripts/xdt-autogen.in.in
+++ b/scripts/xdt-autogen.in.in
@@ -409,7 +409,13 @@ done
##
## Check for libtoolize
##
-test -z "${XDT_PROG_LIBTOOLIZE}" && XDT_PROG_LIBTOOLIZE="libtoolize"
+if test -z "${XDT_PROG_LIBTOOLIZE}"; then
+ if type glibtoolize >/dev/null 2>&1; then
+ XDT_PROG_LIBTOOLIZE="glibtoolize"
+ elif type libtoolize >/dev/null 2>&1; then
+ XDT_PROG_LIBTOOLIZE="libtoolize"
+ fi
+fi
for configure_ac_file in $CONFIGURE_AC_FILES; do
if grep -q "^AC_PROG_LIBTOOL" "${configure_ac_file}"; then
(${XDT_PROG_LIBTOOLIZE} --version) </dev/null >/dev/null 2>&0 || {