~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Brian Aker
  • Date: 2008-12-18 19:16:52 UTC
  • mfrom: (713.1.8 devel)
  • Revision ID: brian@tangent.org-20081218191652-ule5kh68j7g7s61n
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
1326
1326
    [ac_warn_go_crazy="$enableval"],
1327
1327
    [ac_warn_go_crazy="no"])
1328
1328
 
 
1329
AC_ARG_ENABLE([datarace],
 
1330
    [AS_HELP_STRING([--enable-datarace],
 
1331
       [Enables Sun Studio data race detection @<:@default=off@:>@])],
 
1332
    [ac_datarace="$enableval"],
 
1333
    [ac_datarace="no"])
 
1334
 
1329
1335
 
1330
1336
if test "$GCC" = "yes"
1331
1337
then
1332
1338
 
1333
 
 
1334
1339
  if test "$ac_warn_fail" = "yes"
1335
1340
  then
1336
1341
    W_FAIL="-Werror"
1445
1450
fi
1446
1451
if test "$SUNCC" = "yes"
1447
1452
then
 
1453
  if test "$ac_datarace" = "yes"
 
1454
  then
 
1455
    CXXFLAGS="${CXXFLAGS} -xinstrument-datarace"
 
1456
  fi
1448
1457
  CC_WARNINGS="-v -xc99=all -errtags=yes"
1449
1458
  CXX_WARNINGS="+w +w2 -xport64 -errtags=yes -erroff=attrskipunsup -compat=5"
1450
1459
  NO_EXCEPTIONS="-features=no%except"