Index: /trunk/include/sh_files.h
===================================================================
--- /trunk/include/sh_files.h	(revision 253)
+++ /trunk/include/sh_files.h	(revision 254)
@@ -53,4 +53,8 @@
 int sh_files_check_hardlinks (const char * opt);
 
+/* check  rsrc fork (Mac OS X)
+ */
+int sh_files_use_rsrc(const char * str);
+
 /* set recursion depth
  */
Index: /trunk/src/sh_files.c
===================================================================
--- /trunk/src/sh_files.c	(revision 253)
+++ /trunk/src/sh_files.c	(revision 254)
@@ -1941,4 +1941,10 @@
 int get_the_fd (SL_TICKET ticket);
 
+static int sh_use_rsrc = S_FALSE;
+
+int sh_files_use_rsrc(const char * str)
+{
+  return sh_util_flagval(str, &sh_use_rsrc);
+}
 
 static ShFileType sh_files_filecheck (int class, char * dirName, 
@@ -2102,9 +2108,9 @@
     }
   
-#ifdef HOST_IS_DARWIN
+#if defined(HOST_IS_DARWIN)
   /*
    * Check for resource fork
    */
-  if ( (theFile->c_mode[0] != 'd') && (rsrcflag == 0) )
+  if ( (sh_use_rsrc == S_TRUE) && (theFile->c_mode[0] != 'd') && (rsrcflag == 0) )
     {
       int  dummy;
Index: /trunk/src/sh_readconf.c
===================================================================
--- /trunk/src/sh_readconf.c	(revision 253)
+++ /trunk/src/sh_readconf.c	(revision 254)
@@ -946,4 +946,6 @@
   { N_("usehardlinkcheck"),   SH_SECTION_MISC,   SH_SECTION_NONE, 
     sh_files_check_hardlinks },
+  { N_("usersrccheck"),       SH_SECTION_MISC,   SH_SECTION_NONE, 
+    sh_files_use_rsrc },
   { N_("hardlinkoffset"),     SH_SECTION_MISC,   SH_SECTION_NONE,
     sh_files_hle_reg },
