X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=configure.ac;h=a0602df339ea865215fd9c656bbea617f36cf630;hb=48959daf724bb10802ca489654035f69e701efc0;hp=daec29c634a27f04acb851c723c9537979238796;hpb=93a064c72892c8ee4e0102517c1e46cbac4fd114;p=mmh diff --git a/configure.ac b/configure.ac index daec29c..a0602df 100644 --- a/configure.ac +++ b/configure.ac @@ -327,6 +327,13 @@ dnl then use `vi' as the default. AS_IF([test -z "$editorpath"], [editorpath="$vipath"]) AC_SUBST([editorpath])dnl +dnl Cygwin FAT filesystems do not support hard links. So use cp instead, +dnl even if running on an NTFS or other filesystem. +AS_CASE(["$host_os"], + [cygwin*],[LINK_FILE=cp], + [LINK_FILE=ln]) +AC_SUBST([LINK_FILE]) + dnl ---------------------------------------------------------- dnl FIND MAIL SPOOL AND SEE IF WE NEED TO MAKE inc SETGID MAIL dnl ----------------------------------------------------------