IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 31, 2007, 5:46:12 PM (19 years ago)
Author:
jhoblitt
Message:

call IPP_STDOPTS only after configure steps have ran

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/configure.ac

    r8781 r11533  
    1313AC_PROG_INSTALL
    1414dnl AC_PROG_LIBTOOL
    15 
    16 dnl enable largefile supports
    1715AC_SYS_LARGEFILE
    18 
    19 ppMerge_CFLAGS="-Wall -Werror -std=c99"
    20 ppMerge_LDFLAGS=""
    21 
    22 dnl handle debug building
    23 AC_ARG_ENABLE(optimize,
    24   [AS_HELP_STRING(--enable-optimize,enable compiler optimization)],
    25   [AC_MSG_RESULT(compile optimization enabled)
    26    CFLAGS="${CFLAGS=} -O2"],
    27   [AC_MSG_RESULT([compile optimization disabled])
    28    CFLAGS="${CFLAGS=} -O0 -g"]
    29 )
    30 
    31 dnl handle path coverage checking
    32 AC_ARG_ENABLE(coverage,
    33   [AS_HELP_STRING(--enable-coverage,enable path coverage checking)],
    34   [AC_MSG_RESULT(path coverage enabled)
    35    CFLAGS="${CFLAGS=} -fprofile-arcs -ftest-coverage -pg"]
    36 )
    3716
    3817PKG_CHECK_MODULES([PSLIB], [pslib >= 0.12.99])
     
    4019PKG_CHECK_MODULES([PPSTATS], [ppStats >= 0.0.0])
    4120
    42 dnl handle profiler building
    43 AC_ARG_ENABLE(profile,
    44   [AS_HELP_STRING(--enable-profile,enable compiler profiler information inclusion)],
    45   [AC_MSG_RESULT(compile optimization enabled)
    46   ppMerge_CFLAGS="${ppMerge_CFLAGS} -g -pg"
    47   ppMerge_LDFLAGS="${ppMerge_LDFLAGS} -pg -Wl,--start-group -Wl,-Bstatic"]
    48   )
    49  
    50 AC_SUBST([ppMerge_CFLAGS])
    51 AC_SUBST([ppMerge_LDFLAGS])
     21IPP_STDOPTS
     22CFLAGS="${CFLAGS=} -Wall -Werror -std=c99"
    5223
    5324AC_CONFIG_FILES([
Note: See TracChangeset for help on using the changeset viewer.