26767
26769
CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS"
26773
# Check whether --with-valgrind was given.
26774
if test "${with_valgrind+set}" = set; then
26775
withval=$with_valgrind;
26781
if test "$with_valgrind" != "no"
26785
for ac_header in valgrind/valgrind.h valgrind/memcheck.h
26787
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
26788
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26789
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
26790
$as_echo_n "checking for $ac_header... " >&6; }
26791
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26792
$as_echo_n "(cached) " >&6
26794
ac_res=`eval 'as_val=${'$as_ac_Header'}
26795
$as_echo "$as_val"'`
26796
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26797
$as_echo "$ac_res" >&6; }
26799
# Is the header compilable?
26800
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
26801
$as_echo_n "checking $ac_header usability... " >&6; }
26802
cat >conftest.$ac_ext <<_ACEOF
26805
cat confdefs.h >>conftest.$ac_ext
26806
cat >>conftest.$ac_ext <<_ACEOF
26807
/* end confdefs.h. */
26808
$ac_includes_default
26809
#include <$ac_header>
26811
rm -f conftest.$ac_objext
26812
if { (ac_try="$ac_compile"
26813
case "(($ac_try" in
26814
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26815
*) ac_try_echo=$ac_try;;
26817
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26818
$as_echo "$ac_try_echo") >&5
26819
(eval "$ac_compile") 2>conftest.er1
26821
grep -v '^ *+' conftest.er1 >conftest.err
26823
cat conftest.err >&5
26824
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26825
(exit $ac_status); } && {
26826
test -z "$ac_c_werror_flag" ||
26827
test ! -s conftest.err
26828
} && test -s conftest.$ac_objext; then
26829
ac_header_compiler=yes
26831
$as_echo "$as_me: failed program was:" >&5
26832
sed 's/^/| /' conftest.$ac_ext >&5
26834
ac_header_compiler=no
26837
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26838
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26839
$as_echo "$ac_header_compiler" >&6; }
26841
# Is the header present?
26842
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
26843
$as_echo_n "checking $ac_header presence... " >&6; }
26844
cat >conftest.$ac_ext <<_ACEOF
26847
cat confdefs.h >>conftest.$ac_ext
26848
cat >>conftest.$ac_ext <<_ACEOF
26849
/* end confdefs.h. */
26850
#include <$ac_header>
26852
if { (ac_try="$ac_cpp conftest.$ac_ext"
26853
case "(($ac_try" in
26854
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26855
*) ac_try_echo=$ac_try;;
26857
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26858
$as_echo "$ac_try_echo") >&5
26859
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26861
grep -v '^ *+' conftest.er1 >conftest.err
26863
cat conftest.err >&5
26864
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26865
(exit $ac_status); } >/dev/null && {
26866
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26867
test ! -s conftest.err
26869
ac_header_preproc=yes
26871
$as_echo "$as_me: failed program was:" >&5
26872
sed 's/^/| /' conftest.$ac_ext >&5
26874
ac_header_preproc=no
26877
rm -f conftest.err conftest.$ac_ext
26878
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26879
$as_echo "$ac_header_preproc" >&6; }
26881
# So? What about this header?
26882
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26884
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26885
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26886
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26887
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26888
ac_header_preproc=yes
26891
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26892
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26893
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26894
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26895
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26896
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26897
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26898
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26899
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26900
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26901
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26902
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26906
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
26907
$as_echo_n "checking for $ac_header... " >&6; }
26908
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26909
$as_echo_n "(cached) " >&6
26911
eval "$as_ac_Header=\$ac_header_preproc"
26913
ac_res=`eval 'as_val=${'$as_ac_Header'}
26914
$as_echo "$as_val"'`
26915
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26916
$as_echo "$ac_res" >&6; }
26919
as_val=`eval 'as_val=${'$as_ac_Header'}
26920
$as_echo "$as_val"'`
26921
if test "x$as_val" = x""yes; then
26922
cat >>confdefs.h <<_ACEOF
26923
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26926
cat >>confdefs.h <<\_ACEOF
26927
#define HAVE_VALGRIND 1
26770
26936
# Debug Sync Facility. NOTE: depends on 'with_debug'. Must be behind it.
26771
26937
{ $as_echo "$as_me:$LINENO: checking if Debug Sync Facility should be enabled." >&5
26772
26938
$as_echo_n "checking if Debug Sync Facility should be enabled.... " >&6; }
51241
51407
"storage/innodb_plugin/Makefile") CONFIG_FILES="$CONFIG_FILES storage/innodb_plugin/Makefile" ;;
51242
51408
"storage/myisam/Makefile") CONFIG_FILES="$CONFIG_FILES storage/myisam/Makefile" ;;
51243
51409
"storage/myisammrg/Makefile") CONFIG_FILES="$CONFIG_FILES storage/myisammrg/Makefile" ;;
51244
"storage/ndb/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/Makefile" ;;
51245
51410
"storage/ndb/docs/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/docs/Makefile" ;;
51246
51411
"storage/ndb/include/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/include/Makefile" ;;
51247
"storage/ndb/src/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/Makefile" ;;
51248
"storage/ndb/src/common/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/Makefile" ;;
51412
"storage/ndb/src/common/debugger/signaldata/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/debugger/signaldata/Makefile" ;;
51249
51413
"storage/ndb/src/common/debugger/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/debugger/Makefile" ;;
51250
"storage/ndb/src/common/debugger/signaldata/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/debugger/signaldata/Makefile" ;;
51251
51414
"storage/ndb/src/common/logger/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/logger/Makefile" ;;
51252
51415
"storage/ndb/src/common/mgmcommon/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/mgmcommon/Makefile" ;;
51253
51416
"storage/ndb/src/common/portlib/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/portlib/Makefile" ;;
51254
51417
"storage/ndb/src/common/transporter/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/transporter/Makefile" ;;
51255
51418
"storage/ndb/src/common/util/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/util/Makefile" ;;
51419
"storage/ndb/src/common/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/common/Makefile" ;;
51420
"storage/ndb/src/cw/cpcd/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/cw/cpcd/Makefile" ;;
51256
51421
"storage/ndb/src/cw/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/cw/Makefile" ;;
51257
"storage/ndb/src/cw/cpcd/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/cw/cpcd/Makefile" ;;
51258
"storage/ndb/src/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/Makefile" ;;
51259
"storage/ndb/src/kernel/blocks/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/blocks/Makefile" ;;
51260
51422
"storage/ndb/src/kernel/blocks/backup/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/blocks/backup/Makefile" ;;
51261
51423
"storage/ndb/src/kernel/blocks/dbdict/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/blocks/dbdict/Makefile" ;;
51262
51424
"storage/ndb/src/kernel/blocks/dbdih/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/blocks/dbdih/Makefile" ;;
51263
51425
"storage/ndb/src/kernel/blocks/dblqh/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/blocks/dblqh/Makefile" ;;
51264
51426
"storage/ndb/src/kernel/blocks/dbtup/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/blocks/dbtup/Makefile" ;;
51427
"storage/ndb/src/kernel/blocks/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/blocks/Makefile" ;;
51265
51428
"storage/ndb/src/kernel/error/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/error/Makefile" ;;
51266
51429
"storage/ndb/src/kernel/vm/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/vm/Makefile" ;;
51430
"storage/ndb/src/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/kernel/Makefile" ;;
51267
51431
"storage/ndb/src/mgmapi/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/mgmapi/Makefile" ;;
51268
51432
"storage/ndb/src/mgmclient/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/mgmclient/Makefile" ;;
51269
51433
"storage/ndb/src/mgmsrv/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/mgmsrv/Makefile" ;;
51270
51434
"storage/ndb/src/ndbapi/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/ndbapi/Makefile" ;;
51271
"storage/ndb/test/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/Makefile" ;;
51435
"storage/ndb/src/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/Makefile" ;;
51436
"storage/ndb/test/ndbapi/bank/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/ndbapi/bank/Makefile" ;;
51272
51437
"storage/ndb/test/ndbapi/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/ndbapi/Makefile" ;;
51273
"storage/ndb/test/ndbapi/bank/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/ndbapi/bank/Makefile" ;;
51274
51438
"storage/ndb/test/run-test/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/run-test/Makefile" ;;
51275
51439
"storage/ndb/test/src/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/src/Makefile" ;;
51276
51440
"storage/ndb/test/tools/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/tools/Makefile" ;;
51441
"storage/ndb/test/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/test/Makefile" ;;
51277
51442
"storage/ndb/tools/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/tools/Makefile" ;;
51443
"storage/ndb/Makefile") CONFIG_FILES="$CONFIG_FILES storage/ndb/Makefile" ;;
51278
51444
"storage/ndb/src/libndb.ver") CONFIG_FILES="$CONFIG_FILES storage/ndb/src/libndb.ver" ;;
51279
51445
"storage/ndb/include/ndb_version.h") CONFIG_FILES="$CONFIG_FILES storage/ndb/include/ndb_version.h" ;;
51280
51446
"storage/ndb/include/ndb_global.h") CONFIG_FILES="$CONFIG_FILES storage/ndb/include/ndb_global.h" ;;