Skip to content

Commit

Permalink
do_autogen: add -H for --with-hadoop
Browse files Browse the repository at this point in the history
Signed-off-by: Colin McCabe <[email protected]>
  • Loading branch information
cmccabe committed Apr 25, 2011
1 parent 0bd7ee5 commit e9fb106
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion do_autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ die() {
debug_level=0
verbose=0
profile=0
while getopts "36d:hPv" flag
HADOOP_FLAGS=
while getopts "d:hHPv" flag
do
case $flag in
d) debug_level=$OPTARG;;
Expand All @@ -33,6 +34,8 @@ do
h) usage
exit 0;;

H) HADOOP_FLAGS="--with-hadoop";;

v) verbose=1;;

*)
Expand Down Expand Up @@ -96,4 +99,5 @@ export CXXFLAGS
./configure \
--prefix=/usr --sbindir=/sbin --localstatedir=/var --sysconfdir=/etc \
--with-gtk2=yes --with-debug $with_profiler --with-cryptopp --with-radosgw \
$HADOOP_FLAGS \
|| die "configure failed"

0 comments on commit e9fb106

Please sign in to comment.