diff options
Diffstat (limited to 'do_autogen.sh')
-rwxr-xr-x | do_autogen.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/do_autogen.sh b/do_autogen.sh index ba57bfd3eaa..4a9355c1fac 100755 --- a/do_autogen.sh +++ b/do_autogen.sh @@ -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" |