s3:configure: not simply check for "ld" but for the linker used by $CC
commit03f440071cf33aa24733f730cdfcded68c8b3e34
authorBjörn Jacke <bj@sernet.de>
Wed, 5 May 2010 18:17:39 +0000 (5 20:17 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 17 May 2010 07:50:18 +0000 (17 09:50 +0200)
tree0b048c637976745a80eb69495828d432046c83f8
parentb2fe935f1bed08706820cecd3876ec9ec4946916
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 ...).
(cherry picked from commit 1969b4acc3fd7c124e288d0495b9b4665d4b42db)

Fix bug #7385 (Can't compile. Undefined symbol 'main').
(cherry picked from commit eff42fa66e561069959c401492c3b82a09b4742b)
source3/configure.in
source3/m4/aclocal.m4