diff --git a/autogen.sh b/autogen.sh index 694a22a1..230a7218 100755 --- a/autogen.sh +++ b/autogen.sh @@ -17,8 +17,8 @@ PKG_NAME=ModemManager gtkdocize || exit 1 autopoint --force AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose - if test -z "$NOCONFIGURE"; then - ./configure --enable-maintainer-mode "$@" - fi ) +if test -z "$NOCONFIGURE"; then + $srcdir/configure --enable-maintainer-mode "$@" +fi