* Fix libewf configure check

This commit is contained in:
pancake 2012-05-30 00:44:46 +02:00
parent 005612edfe
commit 61e6e0a116
2 changed files with 7 additions and 3 deletions

8
configure vendored
View File

@ -1,5 +1,5 @@
#!/bin/sh
# This script was automatically generated by ACR v@VERSION@
# This script was automatically generated by ACR v0.8.9
# @author: pancake <youterm.com>
# @url: http://www.nopcode.org
# @repo: hg clone http://hg.youterm.com/acr
@ -187,7 +187,7 @@ take_environ() {
}
show_version() {
echo "radare2-0.9.1hg configuration script done with acr v@VERSION@.
echo "radare2-0.9.1hg configuration script done with acr v0.8.9.
The 'Free Software Foundation' message is only for autodetection.
Originally written by pancake <youterm.com>."
exit 0
@ -380,7 +380,9 @@ if [ ! $? = 1 ]; then
echo yes; HAVE_PKGCFG_LIBEWF=1;
EWF_LDFLAGS=$tmp; fi; fi
if [ "$HAVE_PKGCFG_LIBEWF" = "1" ]; then
HAVE_LIB_EWF="1"; fi
HAVE_LIB_EWF="1"
else
HAVE_LIB_EWF="0"; fi
if [ "$HAVE_EWF" = "0" ]; then
HAVE_LIB_EWF="0"; fi
check_library HAVE_LIB_GMP gmp 0

View File

@ -26,6 +26,8 @@ PKGCFG EWF_CFLAGS EWF_LDFLAGS libewf
ARG_WITHOUT HAVE_EWF ewf disable EWF dependency ;
IF HAVE_PKGCFG_LIBEWF {
HAVE_LIB_EWF = 1 ;
}{
HAVE_LIB_EWF = 0 ;
}
IFNOT HAVE_EWF { HAVE_LIB_EWF = 0 ; }