Changeset 7430


Ignore:
Timestamp:
Dec 17, 2008, 3:36:37 AM (12 years ago)
Author:
charles
Message:

(trunk) autoconf's "debug mode" should base its default value on whether this is a branded release or an unofficial build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r7424 r7430  
    2323  AC_DEFINE(TR_UNSTABLE, 1, [Define to 1 if this is an unstable version of Transmission])
    2424  TR_UNSTABLE=yes
     25  enable_debug=yes
     26else
     27  enable_debug=no
    2528fi
    2629AM_CONDITIONAL(TR_UNSTABLE, test "x$TR_UNSTABLE" = "xyes")
     
    9295dnl
    9396dnl  debugging support
    94 AC_ARG_ENABLE([debug],
    95               AS_HELP_STRING([--enable-debug],[build with debugging support]),,
    96               [enable_debug=no])
     97AC_ARG_ENABLE([debug], AS_HELP_STRING([--enable-debug],[build with debugging support]),,,)
    9798if test "x$enable_debug" = "xyes" ; then
    9899        CFLAGS+=" -g "
Note: See TracChangeset for help on using the changeset viewer.