-if [ -z "$LIBTOOL" ]; then
- LIBTOOL=`which glibtool 2>/dev/null`
- if [ ! -x "$LIBTOOL" ]; then
- LIBTOOL=`which libtool`
+if [ -z "$LIBTOOLIZE" ]; then
+ LIBTOOLIZE=`which glibtoolize 2>/dev/null`
+ if [ ! -x "$LIBTOOLIZE" ]; then
+ LIBTOOLIZE=`which libtoolize`