Ignore:
Timestamp:
Jan 21, 2013, 12:28:22 AM (7 years ago)
Author:
sam
Message:

system: try to autodetect the data directory from the executable path;
currently works for images (SDL and GDI+ loaders) and sound samples.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r2175 r2237  
    406406
    407407
    408 dnl Extra libraries we may need
     408dnl  Extra libraries we may need
    409409AC_SUBST(MATH_LIBS)
    410410AC_SUBST(PAM_LIBS)
    411411AC_SUBST(UTIL_LIBS)
    412412
    413 dnl How to use the Lol Engine inside this tree
    414 LOL_CFLAGS="$LOL_CFLAGS -I \$(top_srcdir)/src"
     413dnl  How to use the Lol Engine inside this tree
     414LOL_CFLAGS="$LOL_CFLAGS -I\$(top_srcdir)/src"
     415LOL_CFLAGS="$LOL_CFLAGS -DLOL_SOURCE_SUBDIR=\\\"\$(subdir)\\\""
    415416LOL_CFLAGS="$LOL_CFLAGS $SDL_CFLAGS $GL_CFLAGS $EGL_CFLAGS $LIBPNG_CFLAGS"
    416417LOL_LIBS="$LOL_LIBS $SDL_LIBS $GL_LIBS $EGL_LIBS $LIBPNG_LIBS $D3D_LIBS"
    417418
     419dnl  Extra flags
    418420AC_SUBST(LOL_CFLAGS)
    419421AC_SUBST(LOL_LIBS)
Note: See TracChangeset for help on using the changeset viewer.