Ignore:
Timestamp:
May 9, 2011, 3:19:59 AM (12 years ago)
Author:
Sam Hocevar
Message:

build: fix a problem with --with-assetdir and make sure the flag
name does not have an `s'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/configure.ac

    r614 r623  
    2727  [  --disable-nonfree       disable non-free data (default no)])
    2828
    29 AC_ARG_WITH(assetsdir,
    30   [  --with-assetsdir=DIR    override default game data directory])
     29AC_ARG_WITH(assetdir,
     30  [  --with-assetdir=DIR     override default game data directory])
    3131
    3232dnl  Figure out where the datafiles will be
    33 if test "x${with_assetsdir}" = x; then
    34   with_assetsdir='$(datadir)/games/abuse'
     33if test "x${with_assetdir}" = x; then
     34  with_assetdir='$(datadir)/games/abuse'
    3535fi
    36 AC_SUBST([assetsdir], [$with_assetsdir])
     36AC_SUBST([assetdir], [$with_assetdir])
    3737
    3838dnl  Checks for libraries
     
    146146    Compiler:          ${CC} (`${CC} --version | head -n 1`)
    147147    Install prefix:    ${prefix}
    148     Assets directory:  ${with_assetsdir}
     148    Asset directory:   ${with_assetdir}
    149149    SDL version:       `sdl-config --version`
    150150    OpenGL support:    ${have_opengl}
Note: See TracChangeset for help on using the changeset viewer.