[Xorp-cvs] XORP cvs commit: xorp/config xorp xorp/mibs

Pavlin Radoslavov pavlin@icir.org
Tue, 17 Jan 2006 23:03:41 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2006-01-17 23:03:41 UTC

XORP CVS repository


Modified files:
	config        compiler_flags.m4 
	.             configure 
	mibs          configure 

Log message:
	Fix the implementation of XR_CHECK_CFLAG and XR_CHECK_CXXFLAG
	to use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE.
	
	With the former we can specify the complete test program to
	compile, while the latter auto-generates the main() {} wrapper.
	The auto-generated wrapper however is not appropriate if
	we test the -Wstrict-prototypes compiler flag.
	
	This fixes a bug noted inside comment 3 of bugzilla entry #476.
	
	Bugzilla URL:   http://www.xorp.org/bugzilla/show_bug.cgi?id=476

Revision  Changes                                 Path
1.6       +19 -3;  commitid: 9aa143cd76967ea6;    xorp/config/compiler_flags.m4
1.175     +46 -109;  commitid: 9aa143cd76967ea6;  xorp/configure
1.28      +50 -120;  commitid: 9aa143cd76967ea6;  xorp/mibs/configure