do_autogen: add -P (--with-profiler)

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
This commit is contained in:
Colin Patrick McCabe 2011-02-28 07:42:00 -08:00
parent 9f95489a91
commit 18e9b66edd

View File

@ -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";;
@ -35,6 +35,8 @@ do
d) debug_level=$OPTARG;;
P) with_profiler="--with-profiler ";;
h) usage
exit 0;;
@ -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"