Changeset 11507
- Timestamp:
- Jan 31, 2007, 3:52:36 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psphot/configure.ac (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/configure.ac
r10868 r11507 9 9 AM_MAINTAINER_MODE 10 10 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]) 11 IPP_STDOPS 16 12 17 13 AC_LANG(C) … … 20 16 AC_PROG_INSTALL 21 17 AC_PROG_LIBTOOL 22 23 dnl enable largefile supports24 18 AC_SYS_LARGEFILE 25 26 dnl handle debug building27 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; then33 CFLAGS="-O0 -g"34 fi35 ]36 )37 38 dnl handle profiler building39 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 )45 19 46 20 dnl turn off trace messages … … 231 205 232 206 dnl Set CFLAGS for build 233 CFLAGS="${CFLAGS } -Wall -Werror -std=c99"207 CFLAGS="${CFLAGS=} -Wall -Werror -std=c99" 234 208 echo "PSPHOT_CFLAGS: $PSPHOT_CFLAGS" 235 209 echo "PSPHOT_LIBS: $PSPHOT_LIBS"
Note:
See TracChangeset
for help on using the changeset viewer.
