Bug 17007 - [GTK] autogen.sh attempts to use "libtoolize" on the Mac
: [GTK] autogen.sh attempts to use "libtoolize" on the Mac
Status: RESOLVED FIXED
: WebKit
WebKit Gtk
: 528+ (Nightly build)
: Macintosh Mac OS X 10.5
: P2 Trivial
Assigned To:
:
: Gtk
:
:
  Show dependency treegraph
 
Reported: 2008-01-25 07:53 PST by
Modified: 2008-01-26 04:53 PST (History)


Attachments
Patch (2.50 KB, patch)
2008-01-26 02:10 PST, Mark Rowe (bdash)
alp: review+
Review Patch | Details | Formatted Diff | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-01-25 07:53:55 PST
On Mac OS X, libtool and libtoolize are named glibtool and glibtoolize to prevent conflicts with the system's libtool program which does something different.  autogen.sh should be aware of this and attempt to use glibtoolize if on the Mac, or perhaps if libtoolize doesn't exist.
------- Comment #1 From 2008-01-25 08:42:24 PST -------
A relevant thread for another project:

http://osdir.com/ml/java.classpath.patches/2005-09/msg00023.html

I didn't quite understand the conclusion..

This looks like an OK fix to me for now:

libtoolize --force || glibtoolize --force || exit $?
------- Comment #2 From 2008-01-26 02:10:40 PST -------
Created an attachment (id=18702) [details]
Patch
------- Comment #3 From 2008-01-26 04:53:35 PST -------
Landed in r29807.