summaryrefslogtreecommitdiff
path: root/xserver/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/autogen.sh')
-rw-r--r--xserver/autogen.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/xserver/autogen.sh b/xserver/autogen.sh
index 4e8b11ba9..dd0731ad9 100644
--- a/xserver/autogen.sh
+++ b/xserver/autogen.sh
@@ -9,4 +9,6 @@ cd $srcdir
autoreconf --force -v --install || exit 1
cd $ORIGDIR || exit $?
-$srcdir/configure --enable-maintainer-mode "$@"
+if test -z "$NOCONFIGURE"; then
+ exec $srcdir/configure "$@"
+fi