Commit 6e50ee2a authored by unknown's avatar unknown

Fix InnoDB building on MacOSX when autorun.sh is used


BUILD/autorun.sh:
  Add libtoolize/glibtoolize hook for InnoDB auto-stuff too
parent 55f7266b
...@@ -3,20 +3,23 @@ ...@@ -3,20 +3,23 @@
die() { echo "$@"; exit 1; } die() { echo "$@"; exit 1; }
# Added glibtoolize reference to make native OSX autotools work
if [ -f /usr/bin/glibtoolize ]
then
LIBTOOLIZE=glibtoolize
else
LIBTOOLIZE=libtoolize
fi
(cd storage/bdb/dist && sh s_all) (cd storage/bdb/dist && sh s_all)
(cd storage/innobase && aclocal && autoheader && \ (cd storage/innobase && aclocal && autoheader && \
libtoolize --automake --force --copy && \ $LIBTOOLIZE --automake --force --copy && \
automake --force --add-missing --copy && autoconf) automake --force --add-missing --copy && autoconf)
aclocal || die "Can't execute aclocal" aclocal || die "Can't execute aclocal"
autoheader || die "Can't execute autoheader" autoheader || die "Can't execute autoheader"
# --force means overwrite ltmain.sh script if it already exists # --force means overwrite ltmain.sh script if it already exists
# Added glibtoolize reference to make native OSX autotools work $LIBTOOLIZE --automake --force || die "Can't execute libtoolize"
if test -f /usr/bin/glibtoolize ; then
glibtoolize --automake --force || die "Can't execute glibtoolize"
else
libtoolize --automake --force || die "Can't execute libtoolize"
fi
# --add-missing instructs automake to install missing auxiliary files # --add-missing instructs automake to install missing auxiliary files
# and --force to overwrite them if they already exist # and --force to overwrite them if they already exist
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment