aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh14
1 files changed, 2 insertions, 12 deletions
diff --git a/autogen.sh b/autogen.sh
index 4164dd65..62614d94 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -13,19 +13,9 @@ 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 &&
- ((eval "$polkit" && intltoolize --force) || true) &&
+ intltoolize --force &&
autoreconf &&
- ./configure --enable-maintainer-mode $args
+ ./configure --enable-maintainer-mode $@
)