diff options
author | David Tardon <dtardon@redhat.com> | 2015-03-25 17:48:55 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-03-25 17:52:20 +0100 |
commit | f47e0bed6e4df408cfca1452be984a0a1b64956f (patch) | |
tree | 2505164ed719d22c8881096a8f834929e13df934 /configure.ac | |
parent | bd20a73f4791626a0e9a2eef81f7e74188e4f8bd (diff) |
gbuild: allow to react on change in configured langs
Change-Id: I15492fcc687a21b740dc2d97a47485e2e760055f
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 11b942c621ee..459a45841a94 100644 --- a/configure.ac +++ b/configure.ac @@ -4448,6 +4448,7 @@ if test "$cross_compiling" = "yes"; then solenv/bin/getcompver.awk \ solenv/inc/langlist.mk \ config_host.mk.in \ + config_host_lang.mk.in \ Makefile.in \ lo.xcent.in \ instsetoo_native/util/openoffice.lst.in \ @@ -4499,6 +4500,7 @@ if test "$cross_compiling" = "yes"; then 2>&1 | sed -e 's/^/ /' test -f ./config_host.mk 2>/dev/null || exit cp config_host.mk ../config_build.mk + cp config_host_lang.mk ../config_build_lang.mk mv config.log ../config.Build.log mkdir -p ../config_build mv config_host/*.h ../config_build @@ -12902,8 +12904,12 @@ AC_SUBST(LO_PATH) if test -f config_host.mk; then config_md5=`$MD5SUM config_host.mk | sed "s/ .*//"` fi +if test -f config_host_lang.mk; then + config_lang_md5=`$MD5SUM config_host_lang.mk | sed "s/ .*//"` +fi AC_CONFIG_FILES([config_host.mk + config_host_lang.mk Makefile lo.xcent instsetoo_native/util/openoffice.lst @@ -12949,6 +12955,15 @@ else echo > config_host.mk.stamp fi +# touch the config lang timestamp file +if test ! -f config_host_lang.mk.stamp; then + echo > config_host_lang.mk.stamp +elif test "$config_lang_md5" = `$MD5SUM config_host_lang.mk | sed "s/ .*//"`; then + echo "Configuration unchanged - avoiding scp2 stamp update" +else + echo > config_host_lang.mk.stamp +fi + if test "$STALE_MAKE" = "TRUE" -a "$build_os" = "cygwin"; then |