merely reverting the change on the most pertinent lines doesn't solve the problem. i'm not sure what the fix is.
jrhammon-mac01:git jrhammon$ git diff
diff --git a/autogen.sh b/autogen.sh
index 4036565be..eda353652 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -304,7 +304,12 @@ if [ -n "$autotoolsdir" ] ; then
automake=$autotoolsdir/automake
autom4te=$autotoolsdir/autom4te
aclocal=$autotoolsdir/aclocal
- libtoolize=$autotoolsdir/libtoolize
+ #libtoolize=$autotoolsdir/libtoolize
+ if [ -x "$autotoolsdir/glibtoolize" ] ; then
+ libtoolize=$autotoolsdir/glibtoolize
+ else
+ libtoolize=$autotoolsdir/libtoolize
+ fi
AUTOCONF=$autoconf
AUTOHEADER=$autoheader
@@ -332,7 +337,12 @@ else
autom4te=${AUTOM4TE:-autom4te}
automake=${AUTOMAKE:-automake}
aclocal=${ACLOCAL:-aclocal}
- libtoolize=${LIBTOOLIZE:-libtoolize}
+ #libtoolize=${LIBTOOLIZE:-libtoolize}
+ if [ -x "$autotoolsdir/glibtoolize" ] ; then
+ libtoolize=$autotoolsdir/glibtoolize
+ else
+ libtoolize=$autotoolsdir/libtoolize
+ fi
fi
ProgHomeDir $autoconf autoconfdir
jrhammon-mac01:git jrhammon$ ./autogen.sh
####################################
## Checking user environment
####################################
Verifying the location of autogen.sh... done
usage: dirname path
Checking if autotools are in the same location... no
autoconf is in /usr/local
automake is in /usr/local
libtool is in /
===> WARNING: Autotools are in different locations. In rare occasion,
===> WARNING: resulting configure or makefile may fail in some unexpected ways.
Checking if autoreconf accepts -I //share/aclocal... no
Checking if autoreconf works after an additional /libtoolize step... no
===> ERROR: Since none of the autoreconf workaround works
===> ERROR: and autotools are not in the same directory, aborting...
===> ERROR: Updating autotools or putting all autotools in the same location
===> ERROR: may resolve the issue.