~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Monty Taylor
  • Date: 2009-01-30 04:39:04 UTC
  • mto: (779.7.3 devel)
  • mto: This revision was merged to the branch mainline in revision 823.
  • Revision ID: mordred@inaugust.com-20090130043904-gphdonl7m6zdz06v
Cleaned up warnings up through innodb.

Show diffs side-by-side

added added

removed removed

Lines of Context:
231
231
  esac
232
232
fi
233
233
 
234
 
# We use libtool
235
 
AC_PROG_LIBTOOL
236
 
 
237
234
AC_SUBST(NM)dnl
238
235
 
239
236
AC_PROG_INSTALL
288
285
  then
289
286
    MEMALIGN_FLAGS="-xmemalign=8s"
290
287
  fi
291
 
  CXXFLAGS="${CXXFLAGS} -compat=5 -library=stlport4 -xlang=c99 ${MEMALIGN_FLAGS}"
 
288
  CXXFLAGS="${CXXFLAGS} -compat=5 -library=stlport4 -template=no%extdef -xlang=c99 ${MEMALIGN_FLAGS}"
292
289
  CFLAGS="${CFLAGS} -xstrconst ${MEMALIGN_FLAGS}"
293
290
  SYMBOLS_FLAGS="-g"
294
291
  OPTIMIZE_FLAGS="-xO4 -xlibmil -xdepend"
297
294
  DEBUG_OPTIMIZE_CXX=""
298
295
fi
299
296
 
 
297
# We use libtool
 
298
AC_PROG_LIBTOOL
 
299
 
300
300
dnl TODO: Remove this define once we are using 2.61 across the board.
301
301
# AX_HEADER_ASSERT
302
302
# ----------------
1340
1340
    CFLAGS="${CFLAGS} -xinstrument=datarace"
1341
1341
    CXXFLAGS="${CXXFLAGS} -xinstrument=datarace"
1342
1342
  fi
1343
 
  CC_WARNINGS="-v -xc99=all -errtags=yes -errwarn=%all"
 
1343
  CC_WARNINGS="-v -xc99=all -errtags=yes -errwarn=%all -erroff=E_ATTRIBUTE_NOT_VAR"
1344
1344
  CXX_WARNINGS="+w +w2 -xport64 -errtags=yes -errwarn=%all -erroff=attrskipunsup,doubunder -compat=5"
1345
 
  PROTOSKIP_WARNINGS="-erroff=attrskipunsup,doubunder,reftotemp"
 
1345
  PROTOSKIP_WARNINGS="-erroff=attrskipunsup,doubunder,reftotemp,wbadinitl"
 
1346
  NO_UNREACHED="-erroff=E_STATEMENT_NOT_REACHED"
1346
1347
  if test "$ac_exceptions" = "no"
1347
1348
  then
1348
1349
    NO_EXCEPTIONS="-features=no%except"
1358
1359
AC_SUBST(W_SHADOW)
1359
1360
AC_SUBST(NO_REDUNDANT_DECLS)
1360
1361
AC_SUBST(PROTOSKIP_WARNINGS)
 
1362
AC_SUBST(NO_UNREACHED)
1361
1363
 
1362
1364
AC_SUBST([GLOBAL_CPPFLAGS],['-I$(top_srcdir) -I$(top_builddir)'])
1363
1365
AC_SUBST([AM_CPPFLAGS],['${GLOBAL_CPPFLAGS}'])