~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Monty Taylor
  • Date: 2008-12-18 18:54:05 UTC
  • mto: This revision was merged to the branch mainline in revision 715.
  • Revision ID: monty@inaugust.com-20081218185405-4cayc7ytnctqufxm
Moved a little code...

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"])
1329
1334
 
1330
1335
 
1331
1336
if test "$GCC" = "yes"
1332
1337
then
1333
1338
 
1334
 
 
1335
1339
  if test "$ac_warn_fail" = "yes"
1336
1340
  then
1337
1341
    W_FAIL="-Werror"
1446
1450
fi
1447
1451
if test "$SUNCC" = "yes"
1448
1452
then
1449
 
  AC_ARG_ENABLE([datarace],
1450
 
    [AS_HELP_STRING([--enable-datarace],
1451
 
       [Enables Sun Studio data race detection @<:@default=off@:>@])],
1452
 
    [ac_datarace="$enableval"],
1453
 
    [ac_datarace="no"])
1454
1453
  if test "$ac_datarace" = "yes"
1455
1454
  then
1456
1455
    CXXFLAGS="${CXXFLAGS} -xinstrument-datarace"