mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-31 18:43:28 +00:00
Use enable devel mode for r2-bindings by default
This commit is contained in:
parent
d2c7832d96
commit
29b87d31c9
8
r2-bindings/configure
vendored
8
r2-bindings/configure
vendored
@ -17,7 +17,7 @@ control_c() {
|
||||
exit 1
|
||||
}
|
||||
trap control_c 2
|
||||
DEVEL_MODE=0
|
||||
DEVEL_MODE=1
|
||||
[ -z "${USERCC}" ] && USERCC="gcc"
|
||||
[ -z "${USERCXX}" ] && USERCXX="g++"
|
||||
[ -z "${USEROSTYPE}" ] && USEROSTYPE="auto"
|
||||
@ -141,7 +141,7 @@ System types:
|
||||
EOF2
|
||||
|
||||
printf "\nOptional Features:
|
||||
--enable-devel Enable development mode (use valabind and swig)
|
||||
--disable-devel Enable development mode (use valabind and swig)
|
||||
--with-cc Define C compiler to use (gcc by default) (USERCC=gcc)
|
||||
--with-cxx Define C++ compiler to use (g++ by default) (USERCXX=g++)
|
||||
--with-ostype Choose OS type (gnulinux windows darwin) (USEROSTYPE=auto)\n"
|
||||
@ -198,7 +198,7 @@ echo "PKGNAME: radare2-bindings"
|
||||
echo "VERSION: 0.9.1git"
|
||||
echo "LANGS: c c++"
|
||||
echo "PKG-CONFIG: r_core"
|
||||
echo "FLAGS: --enable-devel --with-cc=gcc --with-cxx=g++ --with-ostype=auto"
|
||||
echo "FLAGS: --disable-devel --with-cc=gcc --with-cxx=g++ --with-ostype=auto"
|
||||
exit 0
|
||||
;;
|
||||
"--cache-file")
|
||||
@ -240,7 +240,7 @@ echo "FLAGS: --enable-devel --with-cc=gcc --with-cxx=g++ --with-ostype=auto"
|
||||
"--mandir")
|
||||
MANDIR="$value"; ;;
|
||||
|
||||
"--enable-devel") DEVEL_MODE="1"; ;;
|
||||
"--disable-devel") DEVEL_MODE="0"; ;;
|
||||
--with-cc) if [ -z "${value}" ]; then USERCC="gcc"; else USERCC="${value}" ; fi ;;
|
||||
--with-cxx) if [ -z "${value}" ]; then USERCXX="g++"; else USERCXX="${value}" ; fi ;;
|
||||
--with-ostype) if [ -z "${value}" ]; then USEROSTYPE="auto"; else USEROSTYPE="${value}" ; fi ;;
|
||||
|
@ -8,7 +8,7 @@ CHKPRG VALABIND valabind
|
||||
CHKPRG SWIG swig
|
||||
CHKPRG GIRCOMPILER g-ir-compiler
|
||||
|
||||
ARG_ENABLE DEVEL_MODE devel Enable development mode (use valabind and swig) ;
|
||||
ARG_DISABLE DEVEL_MODE devel Enable development mode (use valabind and swig) ;
|
||||
ARG_WITH USERCC=gcc cc Define C compiler to use (gcc by default) ;
|
||||
ARG_WITH USERCXX=g++ cxx Define C++ compiler to use (g++ by default) ;
|
||||
ARG_WITH USEROSTYPE=auto ostype Choose OS type (gnulinux windows darwin) ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user