Bug 129213 - Improper usage of ar in configure script
Summary: Improper usage of ar in configure script
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 126492
  Show dependency treegraph
 
Reported: 2014-02-22 11:09 PST by Jeremy Huddleston Sequoia
Modified: 2014-03-25 15:29 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.