Changeset 97 for trunk/configure.ac


Ignore:
Timestamp:
Aug 11, 2010, 6:18:37 PM (9 years ago)
Author:
sam
Message:

Add a few more autotools rules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r92 r97  
    3535dnl conditional builds
    3636AC_ARG_ENABLE(debug,
    37   [  --enable-debug          build debug versions of the library (default no)])
     37  [  --enable-debug          build debug versions of the game (default no)])
     38AC_ARG_ENABLE(release,
     39  [  --enable-release        build final release of the game (default no)])
    3840
    3941AC_CHECK_HEADERS(stdio.h stdarg.h inttypes.h endian.h stdint.h getopt.h)
     
    7072fi
    7173
     74if test "${enable_release}" = "yes"; then
     75  AC_DEFINE(FINAL_RELEASE, 1, Define to 1 to activate final release)
     76fi
     77
    7278AC_SUBST(MATH_LIBS)
    7379
Note: See TracChangeset for help on using the changeset viewer.