comparison ltmain.sh @ 730:0f4f974d0201

Use a unique base address for each DLL. Fixed ltmain.sh for MSYS development environment.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 06 Oct 2003 08:34:08 +0000
parents dac996d69abb
children 97b9c301df94
comparison
equal deleted inserted replaced
729:dac996d69abb 730:0f4f974d0201
4654 DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!"); 4654 DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
4655 if ((!path) || (!*path)) 4655 if ((!path) || (!*path))
4656 return 0; 4656 return 0;
4657 4657
4658 if ((stat (path, &st) >= 0) && 4658 if ((stat (path, &st) >= 0) &&
4659 (((st.st_mode & S_IXOTH) == S_IXOTH) || 4659 (
4660 #ifdef S_IXOTH
4661 ((st.st_mode & S_IXOTH) == S_IXOTH) ||
4662 #endif
4663 #ifdef S_IXGRP
4660 ((st.st_mode & S_IXGRP) == S_IXGRP) || 4664 ((st.st_mode & S_IXGRP) == S_IXGRP) ||
4665 #endif
4661 ((st.st_mode & S_IXUSR) == S_IXUSR))) 4666 ((st.st_mode & S_IXUSR) == S_IXUSR)))
4662 return 1; 4667 return 1;
4663 else 4668 else
4664 return 0; 4669 return 0;
4665 } 4670 }