[Bug 1559] Autoconf overrides AR environment variable

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sun Feb 22 11:45:54 EST 2009


https://bugzilla.mindrot.org/show_bug.cgi?id=1559





--- Comment #7 from Brice Lin <Brice.Lin at gmail.com>  2009-02-22 11:45:53 ---
$ env CC="llvm-gcc" LD="llvm-ld" AR="llvm-ar" RANLIB="llvm-ranlib"
./configure
$ egrep "^(CC|LD|AR|RANLIB)=" Makefile
CC=llvm-gcc
LD=llvm-ld
AR=/usr/bin/ar
RANLIB=llvm-ranlib
$ llvm-ar 
llvm-ar: Not enough positional command line arguments specified!
Must specify at least 2 positional arguments: See: llvm-ar --help

After running the above commands, I combed through config.log for
llvm-ar, but nothing shows up. I've included what seems like the
relevant lines from config.log. What else should I look for to debug
this?

$ egrep "( |\W)(ar|ranlib)\W*$" config.log
configure:4038: checking for ranlib
configure:4065: result: llvm-ranlib
configure:4256: checking for ar
configure:4274: found /usr/bin/ar
configure:4286: result: /usr/bin/ar
ac_cv_path_AR=/usr/bin/ar
ac_cv_prog_ac_ct_RANLIB=llvm-ranlib
AR='/usr/bin/ar'
RANLIB='llvm-ranlib'

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list