IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6453


Ignore:
Timestamp:
Feb 17, 2006, 5:11:56 PM (20 years ago)
Author:
Paul Price
Message:

Adding optional optimisation instead of default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/stac/configure.ac

    r5745 r6453  
    1414dnl AC_PROG_LIBTOOL
    1515
     16dnl handle debug building
     17AC_ARG_ENABLE(optimize,
     18  [AS_HELP_STRING(--enable-optimize,enable compiler optimization)],
     19  [AC_MSG_RESULT(compile optimization enabled)
     20   CFLAGS="${CFLAGS=} -O2"],
     21  [AC_MSG_RESULT([compile optimization disabled])
     22   CFLAGS="${CFLAGS=} -O0 -g"]
     23)
     24
    1625PKG_CHECK_MODULES([PSLIB], [pslib >= 0.9.0])
    1726
    18 CFLAGS="${CFLAGS}"
    19 stac_CFLAGS="-Wall -Werror -std=c99 -O2 -DPS_NO_TRACE"
     27stac_CFLAGS="-Wall -Werror -std=c99 -DPS_NO_TRACE"
    2028AC_SUBST([stac_CFLAGS])
    2129
Note: See TracChangeset for help on using the changeset viewer.