X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=autogen.sh;h=9869c156ae80f668a1edce627e4a6b5cd2930f63;hp=86fe9b3785a27453e4808ed861aeff82a970005b;hb=cc3773810855956bad92337cee8fa193584ab62e;hpb=5a45a93627609451784a04366cfa1150d32611d1 diff --git a/autogen.sh b/autogen.sh index 86fe9b378..9869c156a 100755 --- a/autogen.sh +++ b/autogen.sh @@ -25,7 +25,7 @@ if [ -f .git/hooks/pre-commit.sample ] && [ ! -f .git/hooks/pre-commit ]; then fi if which gtkdocize >/dev/null 2>/dev/null; then - gtkdocize --docdir docs/ + gtkdocize --docdir docs/ --flavour no-tmpl gtkdocargs=--enable-gtk-doc else echo "You don't have gtk-doc installed, and thus won't be able to generate the documentation." @@ -56,6 +56,9 @@ fi if [ "x$1" = "xc" ]; then ./configure CFLAGS='-g -O0' $args make clean +elif [ "x$1" = "xg" ]; then + ./configure CFLAGS='-g -Og' $args + make clean else echo echo "----------------------------------------------------------------"