svn commit: samba r5438 - in branches/SAMBA_4_0/source/build/smb_build: .

jelmer at samba.org jelmer at samba.org
Thu Feb 17 23:39:56 GMT 2005


Author: jelmer
Date: 2005-02-17 23:39:56 +0000 (Thu, 17 Feb 2005)
New Revision: 5438

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

Log:
Keep new CFLAGS if the compiler accepted them.

Modified:
   branches/SAMBA_4_0/source/build/smb_build/public.m4


Changeset:
Modified: branches/SAMBA_4_0/source/build/smb_build/public.m4
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/public.m4	2005-02-17 23:11:26 UTC (rev 5437)
+++ branches/SAMBA_4_0/source/build/smb_build/public.m4	2005-02-17 23:39:56 UTC (rev 5438)
@@ -181,9 +181,9 @@
 					SMB_EXT_LIB_ENABLE($1, YES)
 			    	AC_MSG_RESULT(yes),
 					AC_MSG_RESULT(no),
+    				CFLAGS="$OLD_CFLAGS"
 					AC_MSG_WARN([cannot run when cross-compiling]))
 
-    			CFLAGS="$OLD_CFLAGS"
 
 				SMB_EXT_LIB($1, 
 					[`$PKG_CONFIG --libs-only-l '$2'`], 



More information about the samba-cvs mailing list