s3:configure: not simply check for "ld" but for the linker used by $CC
authorBjörn Jacke <bj@sernet.de>
Wed, 5 May 2010 18:17:39 +0000 (20:17 +0200)
committerBjörn Jacke <bj@sernet.de>
Wed, 5 May 2010 19:38:08 +0000 (21:38 +0200)
commit1969b4acc3fd7c124e288d0495b9b4665d4b42db
tree7645d99e56570ccf2ea06afd5a2fb7872d792e8f
parentd8ba02b73d53863d604ccbe0a4391d7b38590c1c
s3:configure: not simply check for "ld" but for the linker used by $CC

this hopefully fixes Solaris' gcc build which uses the system ld by default.
All in all we should clean up most of the compiler and linker flags depending
on the actual compilers and linkers we use. Only some tweaks are OS-specific.
A cleanup in this area should be done along with the move to a new build
system (whensoever that will be ...).
source3/configure.in
source3/m4/aclocal.m4