diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | autogen.sh | 11 | ||||
-rw-r--r-- | scripts/xdt-autogen.in | 12 |
3 files changed, 21 insertions, 7 deletions
@@ -1,3 +1,8 @@ +2005-01-27 Benedikt Meurer <benny@xfce.org> + + * autogen.sh, scripts/xdt-autogen.in: Don't run the configure script + if the environment variable NOCONFIGURE is set. + 2005-01-26 Benedikt Meurer <benny@xfce.org> * m4macros/xdt-i18n.m4: Need to use AC_DEFINE_UNQUOTED() when @@ -13,9 +13,14 @@ if (type xdt-autogen) >/dev/null 2>&1; then else (aclocal && automake --add-missing --copy --gnu && - autoconf && - ./configure --enable-maintainer-mode $@ && - echo "Now type \"make\" to build.") || exit 1 + autoconf) || exit 1 + + if test x"${NOCONFIGURE}" = x""; then + (./configure --enable-maintainer-mode $@ && + echo "Now type \"make\" to build.") || exit 1 + else + echo "Skipping configure process." + fi fi # vi:set ts=2 sw=2 et ai: diff --git a/scripts/xdt-autogen.in b/scripts/xdt-autogen.in index f6cbb4b..71b55ae 100644 --- a/scripts/xdt-autogen.in +++ b/scripts/xdt-autogen.in @@ -208,10 +208,14 @@ fi ## ## Run configure ## -(echo "Running ${SOURCE_DIR}/configure ${CONFIGURE_FLAGS}..." && - cd "${SOURCE_DIR}" && - ./configure ${CONFIGURE_FLAGS} && - echo "Now type \"make\" to compile.") || exit 1 +if test x"${NOCONFIGURE}" = x""; then + (echo "Running ${SOURCE_DIR}/configure ${CONFIGURE_FLAGS}..." && + cd "${SOURCE_DIR}" && + ./configure ${CONFIGURE_FLAGS} && + echo "Now type \"make\" to compile.") || exit 1 +else + echo "Skipping configure process." +fi # vi:set ts=2 sw=2 et ai: |