Bug 129213

Summary: Improper usage of ar in configure script
Product: WebKit Reporter: Jeremy Huddleston Sequoia <jeremyhu>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: mrobinson
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 126492    

Description Jeremy Huddleston Sequoia 2014-02-22 11:09:20 PST
I noticed this while configuring webkit-gtk 2.3.90:

checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
usage:  ar -d [-TLsv] archive file ...
	ar -m [-TLsv] archive file ...
	ar -m [-abiTLsv] position archive file ...
	ar -p [-TLsv] archive [file ...]
	ar -q [-cTLsv] archive file ...
	ar -r [-cuTLsv] archive file ...
	ar -r [-abciuTLsv] position archive file ...
	ar -t [-TLsv] archive [file ...]
	ar -x [-ouTLsv] archive [file ...]
checking for bash... /opt/local/bin/bash
checking if dolt supports this host... no, falling back to libtool
checking how to print strings... printf
Comment 1 Jeremy Huddleston Sequoia 2014-02-22 11:16:13 PST
This is from Source/autotools/SetupLibtool.m4 

if test -z "$AR_FLAGS"; then
    if "${AR:-ar}" -V | grep -q 'GNU ar'; then
        AR_FLAGS="cruT"
    else
        AR_FLAGS="cru"
    fi
fi

So you might want to just direct stderr to /dev/null to not raise alarms...
Comment 2 Martin Robinson 2014-03-25 15:29:17 PDT
The CMake build has supplanted the autotools build.