Ignore:
Timestamp:
May 8, 2011, 5:32:52 PM (11 years ago)
Author:
Sam Hocevar
Message:

build: allow to specify --disable-nonfree to avoid installing non-free data
and build stripped down tarballs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/configure.ac

    r608 r609  
    2828AC_ARG_ENABLE(release,
    2929  [  --enable-release        build final release of the game (default no)])
     30AC_ARG_ENABLE(nonfree,
     31  [  --disable-nonfree       disable non-free data (default no)])
    3032
    3133dnl Checks for libraries
     
    7173  REL="-g"
    7274fi
     75
     76dnl  Is our package stripped from its non-free data? Or did the user
     77dnl  maybe disable non-free data?
     78ac_cv_have_nonfree="no"
     79if test -f "${srcdir}/data/sfx/ambcave1.wav"; then
     80  ac_cv_have_nonfree="yes"
     81fi
     82if test "${enable_nonfree}" = "no"; then
     83  ac_cv_have_nonfree="no"
     84fi
     85AM_CONDITIONAL(HAVE_NONFREE, test "${ac_cv_have_nonfree}" = "yes")
    7386
    7487# Optimizations
Note: See TracChangeset for help on using the changeset viewer.