diff options
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -13,9 +13,19 @@ PKG_NAME=ModemManager exit 1 } +polkit="false" +args="" +while (( "$#" )); do + if [ "$1" == "--with-polkit=yes" ]; then + polkit="true" + fi + args="$args $1" + shift +done + (cd $srcdir; autoreconf --install --symlink && - intltoolize --force && + ((eval "$polkit" && intltoolize --force) || true) && autoreconf && - ./configure --enable-maintainer-mode $@ + ./configure --enable-maintainer-mode $args ) |