IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6451


Ignore:
Timestamp:
Feb 17, 2006, 4:33:18 PM (20 years ago)
Author:
Paul Price
Message:

Adding optimisation as an option, rather than default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pois/configure.ac

    r5785 r6451  
    1414AC_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
    1827dnl Set CFLAGS for build
    19 pois_CFLAGS="-Wall -Werror -g -O3 -std=c99"
     28pois_CFLAGS="-Wall -Werror -std=c99"
    2029AC_SUBST([pois_CFLAGS])
    2130
Note: See TracChangeset for help on using the changeset viewer.