IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9022


Ignore:
Timestamp:
Sep 28, 2006, 11:50:07 AM (20 years ago)
Author:
jhoblitt
Message:

sync --optimze flag with pslib -- only sets CFLAGS by default if $CFLAGS is empty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/configure.ac

    r8918 r9022  
    6565AC_SUBST([SRCDIRS],${SRCDIRS=})
    6666
    67 dnl handle debug building
     67dnl handle optimized building
    6868AC_ARG_ENABLE(optimize,
    6969  [AS_HELP_STRING(--enable-optimize,enable compiler optimization)],
    7070  [AC_MSG_RESULT(compile optimization enabled)
    71    CFLAGS="${CFLAGS=} -O2"],
     71   CFLAGS="${CFLAGS=} -O2"
     72   PSLIB_CFLAGS="${PSLIB_CFLAGS=} -DPS_NO_TRACE"],
    7273  [AC_MSG_RESULT([compile optimization disabled])
    73    CFLAGS="${CFLAGS=} -O0 -g"]
     74    if test x"${CFLAGS}" == x; then
     75      CFLAGS="-pipe -O0 -g"
     76    fi
     77  ]
    7478)
    7579
Note: See TracChangeset for help on using the changeset viewer.