ltmain.sh
changeset 730 0f4f974d0201
parent 729 dac996d69abb
child 741 97b9c301df94
     1.1 --- a/ltmain.sh	Mon Oct 06 07:13:16 2003 +0000
     1.2 +++ b/ltmain.sh	Mon Oct 06 08:34:08 2003 +0000
     1.3 @@ -4656,8 +4656,13 @@
     1.4      return 0;
     1.5  
     1.6    if ((stat (path, &st) >= 0) &&
     1.7 -      (((st.st_mode & S_IXOTH) == S_IXOTH) ||
     1.8 +      (
     1.9 +#ifdef S_IXOTH
    1.10 +       ((st.st_mode & S_IXOTH) == S_IXOTH) ||
    1.11 +#endif
    1.12 +#ifdef S_IXGRP
    1.13         ((st.st_mode & S_IXGRP) == S_IXGRP) ||
    1.14 +#endif
    1.15         ((st.st_mode & S_IXUSR) == S_IXUSR)))
    1.16      return 1;
    1.17    else