[Libvir] PATCH 4/5: Change compiler flags detection

Karel Zak kzak at redhat.com
Mon Sep 24 10:52:40 UTC 2007


 You will hate me.. but:

On Tue, Sep 18, 2007 at 02:40:19AM +0100, Daniel P. Berrange wrote:
> -	AC_TRY_COMPILE([], [],
> +	AC_TRY_LINK([], [],
>  		has_option=yes,
>  		has_option=no,)
>  	CFLAGS="$SAVE_CFLAGS"

 AC_TRY_COMPILE is obsolete, use AC_LINK_IFELSE

 (also AC_TRY_COMPILE --> AC_COMPILE_IFELSE)

 http://www.gnu.org/software/autoconf/manual/html_node/Obsolete-Macros.html

    Karel

-- 
 Karel Zak  <kzak at redhat.com>




More information about the libvir-list mailing list