Skip to content

Commit

Permalink
Use enable devel mode for r2-bindings by default
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Sep 17, 2012
1 parent d2c7832 commit 29b87d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions r2-bindings/configure
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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")
Expand Down Expand Up @@ -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 ;;
Expand Down
2 changes: 1 addition & 1 deletion r2-bindings/configure.acr
Original file line number Diff line number Diff line change
Expand Up @@ -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) ;
Expand Down

0 comments on commit 29b87d3

Please sign in to comment.