On Thu, Nov 15, 2007 at 08:26:58PM -0800, Alex Deucher wrote:
> commit a94123f33ec6584fbdfc4b9ecd543d1357de8814
> Author: Alex Deucher <[EMAIL PROTECTED]>
> Date:   Thu Nov 15 22:19:54 2007 -0500
> 
>     Revert "Portability fix from netbsd"
>     
>     This reverts commit c9264aa53bf1470ad9104d1e7c4a8ce13c49c270.
>     This breaks damage support.  See bug 13244
> 
> diff --git a/configure.ac b/configure.ac
> index 450d951..b3d46a5 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -79,7 +79,7 @@ sdkdir=$(pkg-config --variable=sdkdir xorg-server)
>  # Checks for header files.
>  AC_HEADER_STDC
>  
> -if test "x$DRI" = xauto; then
> +if test "$DRI" != no; then
>       AC_CHECK_FILE([${sdkdir}/dri.h],
>                        [have_dri_h="yes"], [have_dri_h="no"])
>       AC_CHECK_FILE([${sdkdir}/sarea.h],

if ! test "x$DRI" = xno; then

is a perfectly portable way to write the same thing.

Cheers,
Daniel

Attachment: signature.asc
Description: Digital signature

_______________________________________________
xorg-driver-ati mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-driver-ati

Reply via email to