Changeset 24f4671 for configure.ac


Ignore:
Timestamp:
Dec 13, 2016, 10:53:21 AM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
3d50aaf
Parents:
2ee5426
Message:

Added defines to driver to enable debug/release modes (not implemented yet)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r2ee5426 r24f4671  
    8282                                ;;
    8383                        no)
    84                                 AC_MSG_ERROR(Must build target debug or release)
    85                                 exit 1;
     84                                build_release="no"
     85                                build_debug="no"
    8686                                ;;
    8787                        *)
     
    111111AM_CONDITIONAL([BUILD_RELEASE], [test "x$build_release" = "xyes"])
    112112AM_CONDITIONAL([BUILD_DEBUG], [test "x$build_debug" = "xyes"])
     113AM_CONDITIONAL([BUILD_NO_LIB], [test "x$build_release$build_debug" = "xnono"])
    113114
    114115if test "x$prefix" = "xNONE"; then
     
    200201                [AC_MSG_NOTICE(Building libcfa for target: release & debug)],
    201202                [AC_MSG_NOTICE(Building libcfa for target: release)])],
    202         [AC_MSG_NOTICE(Building libcfa for target: debug)])
     203        [AM_COND_IF([BUILD_DEBUG],
     204                [AC_MSG_NOTICE(Building libcfa for target: debug)],
     205                [AC_MSG_NOTICE(Running cfa without libcfa)])])
    203206
    204207# Final text
Note: See TracChangeset for help on using the changeset viewer.