diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b028e39cae26..9da5b39e6b07 100644 --- a/configure.ac +++ b/configure.ac @@ -651,6 +651,12 @@ AC_ARG_ENABLE(ext-wiki-publisher, dnl ---------- *** ---------- +AC_ARG_ENABLE([hardlink-deliver], + AS_HELP_STRING([--enable-hardlink-deliver], + [Put files into deliver folder as hardlinks instead of copying them + over. Saves space and speeds up build.]) +) + AC_ARG_ENABLE(mergelibs, AS_HELP_STRING([--enable-mergelibs], [Enables linking of big, merged, library. Experimental feature tested @@ -11986,6 +11992,19 @@ else fi AC_SUBST(MERGELIBS) +# =================================================================== +# Create hardlinks on deliver instead of copying for smaller size and speed up +# =================================================================== +AC_MSG_CHECKING([whether to create hardlinks for delivering files]) +HARDLINKDELIVER= +if test "$enable_hardlink_deliver" = "yes"; then + HARDLINKDELIVER="TRUE" + AC_MSG_RESULT([yes]) +else + AC_MSG_RESULT([no]) +fi +AC_SUBST(HARDLINKDELIVER) + dnl =================================================================== dnl icerun is a wrapper that stops us spawning tens of processes dnl locally - for tools that can't be executed on the compile cluster |