mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 02:23:58 +00:00
* Fix libewf configure check
This commit is contained in:
parent
005612edfe
commit
61e6e0a116
8
configure
vendored
8
configure
vendored
@ -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
|
||||
|
@ -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 ; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user