Bug 17007

Summary: [GTK] autogen.sh attempts to use "libtoolize" on the Mac
Product: WebKit Reporter: Mark Rowe (bdash) <mrowe>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Trivial CC: alp
Priority: P2 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Patch alp: review+

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.