mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-23 22:36:27 +00:00
* Bump to 0.6.1, update acr
This commit is contained in:
parent
9580907a35
commit
1c779dfd3c
16
configure
vendored
16
configure
vendored
@ -100,12 +100,12 @@ done
|
||||
: ${INSTALL_PROGRAM:=${INSTALL} -m 755 -s}
|
||||
: ${INSTALL_MAN:=${INSTALL} -m 444}
|
||||
: ${INSTALL_LIB:=${INSTALL} -c}
|
||||
PKGNAME='radare2' ; VERSION='0.6' ; CONTACT_MAIL="pancake@nopcode.org" ; CONTACT_NAME="pancake" ; CONTACT="pancake <pancake@nopcode.org>" ;
|
||||
PKGNAME='radare2' ; VERSION='0.6.1' ; CONTACT_MAIL="pancake@nopcode.org" ; CONTACT_NAME="pancake" ; CONTACT="pancake <pancake@nopcode.org>" ;
|
||||
}
|
||||
|
||||
show_usage() {
|
||||
cat <<EOF2
|
||||
'configure' configures radare2-0.6 to adapt to many kinds of systems.
|
||||
'configure' configures radare2-0.6.1 to adapt to many kinds of systems.
|
||||
|
||||
Usage: ./configure [OPTION]... [VAR=VALUE]...
|
||||
|
||||
@ -173,7 +173,7 @@ take_environ() {
|
||||
}
|
||||
|
||||
show_version() {
|
||||
echo "radare2-0.6 configuration script done with acr v0.8.2.
|
||||
echo "radare2-0.6.1 configuration script done with acr v0.8.2.
|
||||
The 'Free Software Foundation' message is only for autodetection.
|
||||
Originally written by pancake <youterm.com>."
|
||||
exit 0
|
||||
@ -191,7 +191,7 @@ case $flag in
|
||||
show_version ; ;;
|
||||
"-r"|"--r"|"--report")
|
||||
echo "PKGNAME: radare2"
|
||||
echo "VERSION: 0.6"
|
||||
echo "VERSION: 0.6.1"
|
||||
echo "LANGS: c"
|
||||
echo "REQUIRED: libdl"
|
||||
echo "OPTIONAL: libewf"
|
||||
@ -309,9 +309,8 @@ else
|
||||
echo "libc"
|
||||
fi
|
||||
printf "checking host endianness... "
|
||||
echo '#include <stdio.h>' > test.c
|
||||
echo 'main(){int a=1;char *b=(char*)&a;printf("%d",b[0]);}' >> test.c
|
||||
eval \$${COMPILER} ${CFLAGS} ${CXXFLAGS} ${LDFLAGS} -o a.out test.c >/dev/null 2>&1
|
||||
echo 'main(){int a=1;char *b=(char*)&a;printf("%d",b[0]);}' > test.c
|
||||
${CC} ${CFLAGS} ${LDFLAGS} -o a.out test.c >/dev/null 2>&1
|
||||
if [ ! $? = 0 ]; then
|
||||
echo unexpected error
|
||||
do_remove
|
||||
@ -337,7 +336,7 @@ _CHKLIB_NAME=$2
|
||||
_CHKLIB_LIBS=$(echo "-l${_CHKLIB_NAME}" | sed 's,\+, -l,g')
|
||||
printf "checking for lib${_CHKLIB_NAME} ... "
|
||||
echo "main(){ }" > test.c
|
||||
eval ${S}${COMPILER} ${CFLAGS} ${CXXFLAGS} ${LDFLAGS} ${_CHKLIB_LIBS} test.c >/dev/null 2>&1
|
||||
eval ${S}${COMPILER} ${CFLAGS} ${LDFLAGS} ${_CHKLIB_LIBS} test.c >/dev/null 2>&1
|
||||
if [ $? = 0 ]; then
|
||||
eval ${VAR}=1
|
||||
echo yes
|
||||
@ -421,3 +420,4 @@ eval VAL="\$${A}"
|
||||
[ -z "${VAL}" ] && VAL="(null)"
|
||||
echo " - ${A} = ${VAL}"
|
||||
done
|
||||
echo $0 $@ > .configure.line
|
||||
|
@ -1,5 +1,5 @@
|
||||
PKGNAME radare2
|
||||
VERSION 0.6
|
||||
VERSION 0.6.1
|
||||
CONTACT pancake ; pancake@nopcode.org
|
||||
|
||||
LANG_C!
|
||||
|
Loading…
x
Reference in New Issue
Block a user