]> mj.ucw.cz Git - pciutils.git/commitdiff
The automatic test for zlib searches in /usr/local/include, too.
authorMartin Mares <mj@ucw.cz>
Wed, 13 Feb 2008 19:20:11 +0000 (20:20 +0100)
committerMartin Mares <mj@ucw.cz>
Wed, 13 Feb 2008 19:20:11 +0000 (20:20 +0100)
lib/configure

index b41628c92d253ecc7d08824fb557ad52b84d6a5b..7f4a238d56bc564785dadf3731a3cf6b9fc6e8a8 100755 (executable)
@@ -122,7 +122,7 @@ echo_n "Checking for zlib support... "
 if [ "$zlib" = yes -o "$zlib" = no ] ; then
        echo "$zlib (set manually)"
 else
-       if [ -f /usr/include/zlib.h ] ; then
+       if [ -f /usr/include/zlib.h -o -f /usr/local/include/zlib.h ] ; then
                zlib=yes
        else
                zlib=no