Gaetan Nadon <[email protected]> writes:

> On 13-11-03 04:16 PM, Keith Packard wrote:
>> Make sure the server can build when the xshmfence library isn't present
>>
>> Signed-off-by: Keith Packard <[email protected]>
>> ---
>>  Xext/sync.c              |  8 ++++++++
>>  configure.ac             | 42 ++++++++++++++++++++++++++++++++++++++++--
>>  dri3/dri3.h              |  6 ++++++
>>  include/xorg-server.h.in |  3 +++
>>  miext/sync/Makefile.am   |  7 ++++++-
>>  5 files changed, 63 insertions(+), 3 deletions(-)
>
> Reviewed-by: Gaetan Nadon <[email protected]>
>
> Nit:
>
>     [...]/patch:95: trailing whitespace.
>     esac       
>     warning: 1 line adds whitespace errors.
>
> To be fixed later:
> Confusing/wrong messages when configuring with --disable-dri3 with
> library and dri3proto installed: 'case no,yes) caught in *)':

I think this will eliminate the spurious messages. If you concur, I'll
amend the previous patch with this change and push it to master.

diff --git a/configure.ac b/configure.ac
index 2ec61d3..6dd437b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1128,6 +1128,8 @@ case "$DRI3,$HAVE_DRI3PROTO" in
                AC_MSG_ERROR([DRI3 requested, but dri3proto not found.])
                DRI3=no
                ;;
+       no,*)
+               ;;
        *)
                AC_MSG_NOTICE([DRI3 disabled because dri3proto not found.])
                DRI3=no
@@ -1172,11 +1174,13 @@ case "$DRI3,$HAVE_XSHMFENCE" in
                AC_MSG_ERROR("DRI3 requested, but xshmfence not found.])
                DRI3=no
                ;;
+       no,*)
+               ;;
        *)
                AC_MSG_NOTICE([DRI3 disabled because xshmfence not found.])
                DRI3=no
                ;;
-esac           
+esac
 
 case x"$DRI3" in
        xyes|xauto)


-- 
[email protected]

Attachment: pgpsgbHWjKBkS.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to