svn commit: samba r25993 - in branches/SAMBA_4_0/source/build/m4: .

metze at samba.org metze at samba.org
Fri Nov 16 10:39:52 GMT 2007


Author: metze
Date: 2007-11-16 10:39:52 +0000 (Fri, 16 Nov 2007)
New Revision: 25993

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25993

Log:
build: HOSTLD should always match HOSTCC if not specified

metze

Modified:
   branches/SAMBA_4_0/source/build/m4/check_ld.m4


Changeset:
Modified: branches/SAMBA_4_0/source/build/m4/check_ld.m4
===================================================================
--- branches/SAMBA_4_0/source/build/m4/check_ld.m4	2007-11-16 10:21:57 UTC (rev 25992)
+++ branches/SAMBA_4_0/source/build/m4/check_ld.m4	2007-11-16 10:39:52 UTC (rev 25993)
@@ -29,13 +29,7 @@
 # allow for --with-hostld=gcc
 AC_ARG_WITH(hostld,[  --with-hostld=linker    choose host linker],
 [HOSTLD=$withval],
-[
-if test z"$cross_compiling" = "yes"; then
-	HOSTLD='$(HOSTCC)'
-else
-	HOSTLD='$(LD)'
-fi
-])
+[HOSTLD=$HOSTCC])
 
 AC_MSG_CHECKING([whether to try to build shared libraries on $host_os])
 



More information about the samba-cvs mailing list