diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e6f78a731786..de10a0e20511 100644 --- a/configure.ac +++ b/configure.ac @@ -11827,7 +11827,18 @@ if test -f config_host.mk; then config_md5=`$MD5SUM config_host.mk | sed "s/ .*//"` fi -AC_CONFIG_FILES([config_host.mk Makefile lo.xcent solenv/inc/minor.mk instsetoo_native/util/openoffice.lst]) +AC_CONFIG_FILES([config_host.mk Makefile lo.xcent instsetoo_native/util/openoffice.lst]) +# Unlike AC_CONFIG_HEADERS, AC_CONFIG_FILES updates the target file even if the contents +# would be unchanged, avoid that. +AC_CONFIG_FILES([solenv/inc/minor.mk.tmp:solenv/inc/minor.mk.in], + [ + AC_MSG_NOTICE([creating solenv/inc/minor.mk]) + if diff solenv/inc/minor.mk.tmp solenv/inc/minor.mk >/dev/null 2>&1 ; then + AC_MSG_NOTICE([solenv/inc/minor.mk is unchanged]) + else + cp -f solenv/inc/minor.mk.tmp solenv/inc/minor.mk + fi + ]) AC_CONFIG_HEADERS([config_host/config_clang.h]) AC_CONFIG_HEADERS([config_host/config_global.h]) AC_CONFIG_HEADERS([config_host/config_graphite.h]) |