IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11507


Ignore:
Timestamp:
Jan 31, 2007, 3:52:36 PM (19 years ago)
Author:
jhoblitt
Message:

use IPP_STDOPS macro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/configure.ac

    r10868 r11507  
    99AM_MAINTAINER_MODE
    1010
    11 dnl otherwise AC_PROG_CC will default CFLAGS to "-g -02"
    12 if test -z ${CFLAGS} ; then
    13   CFLAGS=""
    14 fi
    15 AC_SUBST([CFLAGS])
     11IPP_STDOPS
    1612
    1713AC_LANG(C)
     
    2016AC_PROG_INSTALL
    2117AC_PROG_LIBTOOL
    22 
    23 dnl enable largefile supports
    2418AC_SYS_LARGEFILE
    25 
    26 dnl handle debug building
    27 AC_ARG_ENABLE(optimize,
    28   [AS_HELP_STRING(--enable-optimize,enable compiler optimization)],
    29   [AC_MSG_RESULT(compile optimization enabled)
    30    CFLAGS="${CFLAGS=} -O2 -g"],
    31   [AC_MSG_RESULT([compile optimization disabled])
    32     if test x"${CFLAGS}" == x; then
    33       CFLAGS="-O0 -g"
    34     fi
    35   ]
    36 )
    37 
    38 dnl handle profiler building
    39 AC_ARG_ENABLE(profile,
    40   [AS_HELP_STRING(--enable-profile,enable compiler profiler information inclusion)],
    41   [AC_MSG_RESULT(compile optimization enabled)
    42    CFLAGS="${CFLAGS=} -pg -g"
    43    LDFLAGS="${LDFLAGS=} -pg"]
    44 )
    4519
    4620dnl turn off trace messages
     
    231205
    232206dnl Set CFLAGS for build
    233 CFLAGS="${CFLAGS} -Wall -Werror -std=c99"
     207CFLAGS="${CFLAGS=} -Wall -Werror -std=c99"
    234208echo "PSPHOT_CFLAGS: $PSPHOT_CFLAGS"
    235209echo "PSPHOT_LIBS: $PSPHOT_LIBS"
Note: See TracChangeset for help on using the changeset viewer.