IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11529


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

use IPP_STDOPTS macro

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStac/configure.ac

    r11116 r11529  
    88AM_MAINTAINER_MODE
    99
     10IPP_STDOPTS
     11
    1012AC_LANG(C)
    1113AC_GNU_SOURCE
     
    1315AC_PROG_INSTALL
    1416AC_PROG_LIBTOOL
    15 
    16 dnl enable largefile supports
    1717AC_SYS_LARGEFILE
    1818
    19 dnl handle debug building
    20 AC_ARG_ENABLE(optimize,
    21   [AS_HELP_STRING(--enable-optimize,enable compiler optimization)],
    22   [AC_MSG_RESULT(compile optimization enabled)
    23    CFLAGS="${CFLAGS=} -O2"],
    24   [AC_MSG_RESULT([compile optimization disabled])
    25    CFLAGS="${CFLAGS=} -O0 -g"]
    26 )
    27 
    28 dnl ppStac_CFLAGS="-Wall -Werror -std=c99"
    29 CFLAGS="${CFLAGS=} -Wall -Werror -std=c99"
    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 )
    37  
    3819PKG_CHECK_MODULES([PSLIB], [pslib >= 0.12.99])
    3920PKG_CHECK_MODULES([PSMODULE], [psmodules >= 0.12.99])
    4021
    41 dnl handle profiler building
    42 AC_ARG_ENABLE(profile,
    43   [AS_HELP_STRING(--enable-profile,enable compiler profiler information inclusion)],
    44   [AC_MSG_RESULT(compile optimization enabled)
    45   CFLAGS="${CFLAGS=} -g -pg"
    46   LDFLAGS="${LDFLAGS=} -pg -Wl,--start-group -Wl,-Bstatic"]
    47   )
    48    
     22CFLAGS="${CFLAGS=} -Wall -Werror -std=c99"
     23
    4924AC_CONFIG_FILES([
    5025  Makefile
  • trunk/ppStats/configure.ac

    r10540 r11529  
    88AM_MAINTAINER_MODE
    99
     10IPP_STDOPTS
     11
    1012AC_LANG(C)
    1113AC_GNU_SOURCE
     
    1315AC_PROG_INSTALL
    1416AC_PROG_LIBTOOL
    15 
    16 dnl enable largefile supports
    1717AC_SYS_LARGEFILE
    1818
    19 dnl handle debug building
    20 AC_ARG_ENABLE(optimize,
    21   [AS_HELP_STRING(--enable-optimize,enable compiler optimization)],
    22   [AC_MSG_RESULT(compile optimization enabled)
    23    CFLAGS="${CFLAGS=} -O2"],
    24   [AC_MSG_RESULT([compile optimization disabled])
    25    CFLAGS="${CFLAGS=} -O0 -g"]
    26 )
    27 
    28 dnl ppStats_CFLAGS="-Wall -Werror -std=c99"
    29 CFLAGS="${CFLAGS=} -Wall -Werror -std=c99"
    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 )
    37  
    3819PKG_CHECK_MODULES([PSLIB], [pslib >= 0.12.99])
    3920PKG_CHECK_MODULES([PSMODULE], [psmodules >= 0.12.99])
    4021
    41 dnl handle profiler building
    42 AC_ARG_ENABLE(profile,
    43   [AS_HELP_STRING(--enable-profile,enable compiler profiler information inclusion)],
    44   [AC_MSG_RESULT(compile optimization enabled)
    45   CFLAGS="${CFLAGS=} -g -pg"
    46   LDFLAGS="${LDFLAGS=} -pg -Wl,--start-group -Wl,-Bstatic"]
    47   )
     22CFLAGS="${CFLAGS=} -Wall -Werror -std=c99"
    4823   
    4924AC_CONFIG_FILES([
Note: See TracChangeset for help on using the changeset viewer.