We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 45fccc3 + 5aab12d commit e50eb86Copy full SHA for e50eb86
configure
@@ -387,9 +387,9 @@ fi
387
388
389
if find_library "imagequant" "imagequant" "libimagequant.h" "libimagequant.a" "libimagequant.$SOLIBSUFFIX*"; then
390
- if [ -z "$LIBRARY_FOUND_VERSION" ]; then
+ if [ -n "$LIBRARY_FOUND_VERSION" ]; then
391
VERSION=$LIBRARY_FOUND_VERSION
392
- elif [ -z "$LIBRARY_FOUND_HEADER" ]; then
+ elif [ -n "$LIBRARY_FOUND_HEADER" ]; then
393
VERSION=$(grep LIQ_VERSION_STRING "$LIBRARY_FOUND_HEADER" | grep -Eo "2\.[0-9.]+")
394
else
395
VERSION=unknown
0 commit comments