diff --git a/autogen.sh b/autogen.sh
index fc34bd55c443ebf0e4feded3f6bd85d390c3d4c6..fd9c59a14fa8ceec02fa12e30dc76f827835eb39 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -10,5 +10,5 @@ autoreconf -v --install || exit 1
 cd $ORIGDIR || exit $?
 
 if test -z "$NOCONFIGURE"; then
-    $srcdir/configure "$@"
+    exec $srcdir/configure "$@"
 fi