xserver: Branch 'master'

Keith Packard keithp at kemper.freedesktop.org
Fri Jun 4 12:59:08 PDT 2010


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6b4af3b7925978cd79f717761f1b6f33bd8dfbaf
Author: Pauli Nieminen <ext-pauli.nieminen at nokia.com>
Date:   Fri Jun 4 16:27:28 2010 +0300

    configure: Check for libsha1.pc
    
    xserver fails to detect libsha1. Problem is that configure checks for
    sha1.pc when libsha1 provides libsha1.pc.
    
    Signed-off-by: Pauli Nieminen <ext-pauli.nieminen at nokia.com>
    Reviewed-by: Mikhail Gusarov <dottedmag at dottedmag.net>
    Signed-off-by: Keith Packard <keithp at keithp.com>

diff --git a/configure.ac b/configure.ac
index 9e7d700..c8b49de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1382,7 +1382,7 @@ if test "x$with_sha1" = xlibmd; then
 	          [Use libmd SHA1 functions])
 	SHA1_LIBS=-lmd
 fi
-PKG_CHECK_MODULES([LIBSHA1], [sha1], [HAVE_LIBSHA1=yes], [HAVE_LIBSHA1=no])
+PKG_CHECK_MODULES([LIBSHA1], [libsha1], [HAVE_LIBSHA1=yes], [HAVE_LIBSHA1=no])
 if test "x$with_sha1" = x && test "x$HAVE_LIBSHA1" = xyes; then
    with_sha1=libsha1
 fi


More information about the xorg-commit mailing list