Allow configure to be started from directories other as the top dir

(patch #1002). (Ported 2008-03-10T17:04:26Z!koraq@xs4all.nl from trunk).
This commit is contained in:
Mark de Wever 2008-03-10 17:10:19 +00:00
parent 38957fcadc
commit 9ce03680a4
2 changed files with 3 additions and 1 deletions

View file

@ -16,6 +16,8 @@ Version 1.4+svn:
portraits)
* Default gender selection now works correctly for units with
only a female variant. Fixes bug #11197.
* allow configure to be started from directories other as the top dir
(patch #1002)
Version 1.4:
* language and i18n:

View file

@ -864,7 +864,7 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([
int main(int argc, char **argv)
{
SDL_RWops *src;
char *testimage = "images/buttons/button-pressed.png";
char *testimage = "${srcdir}/images/buttons/button-pressed.png";
src = SDL_RWFromFile(testimage, "rb");
if (src == NULL) {