Bug 17007 - [GTK] autogen.sh attempts to use "libtoolize" on the Mac
Summary: [GTK] autogen.sh attempts to use "libtoolize" on the Mac
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Trivial
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2008-01-25 07:53 PST by Mark Rowe (bdash)
Modified: 2008-01-26 04:53 PST (History)
1 user (show)

See Also:


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

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Rowe (bdash) 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 Alp Toker 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 Mark Rowe (bdash) 2008-01-26 02:10:40 PST
Created attachment 18702 [details]
Patch
Comment 3 Mark Rowe (bdash) 2008-01-26 04:53:35 PST
Landed in r29807.