ltmain.sh
changeset 730 0f4f974d0201
parent 729 dac996d69abb
child 741 97b9c301df94
--- a/ltmain.sh	Mon Oct 06 07:13:16 2003 +0000
+++ b/ltmain.sh	Mon Oct 06 08:34:08 2003 +0000
@@ -4656,8 +4656,13 @@
     return 0;
 
   if ((stat (path, &st) >= 0) &&
-      (((st.st_mode & S_IXOTH) == S_IXOTH) ||
+      (
+#ifdef S_IXOTH
+       ((st.st_mode & S_IXOTH) == S_IXOTH) ||
+#endif
+#ifdef S_IXGRP
        ((st.st_mode & S_IXGRP) == S_IXGRP) ||
+#endif
        ((st.st_mode & S_IXUSR) == S_IXUSR)))
     return 1;
   else