Skip to content

Commit

Permalink
do_autogen: add -P (--with-profiler)
Browse files Browse the repository at this point in the history
Signed-off-by: Colin McCabe <[email protected]>
  • Loading branch information
cmccabe committed Mar 1, 2011
1 parent 9f95489 commit 18e9b66
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions do_autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ debug_level=0
verbose=0
CFLAGS=""
CXXFLAGS=""
while getopts "36d:hv" flag
while getopts "36d:hPv" flag
do
case $flag in
3) CFLAGS="$CFLAGS -m32";;
Expand All @@ -35,6 +35,8 @@ do

d) debug_level=$OPTARG;;

P) with_profiler="--with-profiler ";;

h) usage
exit 0;;

Expand Down Expand Up @@ -93,5 +95,5 @@ export CXXFLAGS

./configure \
--prefix=/usr --sbindir=/sbin --localstatedir=/var --sysconfdir=/etc \
--with-gtk2=yes --with-debug \
--with-gtk2=yes --with-debug $with_profiler \
|| die "configure failed"

0 comments on commit 18e9b66

Please sign in to comment.