Mercurial > hg > xemacs-beta
comparison configure.ac @ 4803:5d120deb60ca
Enable rudimentary support for valgrind, including functions that tell valgrind
to do a leak check at runtime. See xemacs-patches message with ID
<870180fe1001060942k2b06ef1bn2631c5f226b5e6b2@mail.gmail.com>.
author | Jerry James <james@xemacs.org> |
---|---|
date | Wed, 06 Jan 2010 10:44:06 -0700 |
parents | bc4f2511bbea |
children | 4dd2389173fc |
comparison
equal
deleted
inserted
replaced
4802:2fc0e2f18322 | 4803:5d120deb60ca |
---|---|
1011 XE_MERGED_ARG([quantify], | 1011 XE_MERGED_ARG([quantify], |
1012 AS_HELP_STRING([--with-quantify],[Support performance debugging using Quantify.]), | 1012 AS_HELP_STRING([--with-quantify],[Support performance debugging using Quantify.]), |
1013 [], []) | 1013 [], []) |
1014 XE_MERGED_ARG([purify], | 1014 XE_MERGED_ARG([purify], |
1015 AS_HELP_STRING([--with-purify],[Support memory debugging using Purify.]), | 1015 AS_HELP_STRING([--with-purify],[Support memory debugging using Purify.]), |
1016 [], []) | |
1017 XE_MERGED_ARG([valgrind], | |
1018 AS_HELP_STRING([--with-valgrind],[Support memory debugging using Valgrind.]), | |
1016 [], []) | 1019 [], []) |
1017 dnl ------------------------------------------------------------------------- | 1020 dnl ------------------------------------------------------------------------- |
1018 dnl Final command line argument checks. | 1021 dnl Final command line argument checks. |
1019 | 1022 |
1020 dnl --with-quantify or --with-purify imply --with-system-malloc | 1023 dnl --with-quantify or --with-purify imply --with-system-malloc |
5488 test "$have_vdb_posix" = "yes" && AC_DEFINE(VDB_POSIX) | 5491 test "$have_vdb_posix" = "yes" && AC_DEFINE(VDB_POSIX) |
5489 test "$have_vdb_fake" = "yes" && AC_DEFINE(VDB_FAKE) | 5492 test "$have_vdb_fake" = "yes" && AC_DEFINE(VDB_FAKE) |
5490 test "$enable_quick_build" = "yes" && AC_DEFINE(QUICK_BUILD) | 5493 test "$enable_quick_build" = "yes" && AC_DEFINE(QUICK_BUILD) |
5491 test "$with_purify" = "yes" && AC_DEFINE(PURIFY) | 5494 test "$with_purify" = "yes" && AC_DEFINE(PURIFY) |
5492 test "$with_quantify" = "yes" && AC_DEFINE(QUANTIFY) | 5495 test "$with_quantify" = "yes" && AC_DEFINE(QUANTIFY) |
5496 test "$with_valgrind" = "yes" && AC_DEFINE(USE_VALGRIND) | |
5493 test "$with_pop" = "yes" && AC_DEFINE(MAIL_USE_POP) | 5497 test "$with_pop" = "yes" && AC_DEFINE(MAIL_USE_POP) |
5494 test "$with_kerberos" = "yes" && AC_DEFINE(KERBEROS) | 5498 test "$with_kerberos" = "yes" && AC_DEFINE(KERBEROS) |
5495 test "$with_hesiod" = "yes" && AC_DEFINE(HESIOD) | 5499 test "$with_hesiod" = "yes" && AC_DEFINE(HESIOD) |
5496 test "$enable_union_type" = "yes" && AC_DEFINE(USE_UNION_TYPE) | 5500 test "$enable_union_type" = "yes" && AC_DEFINE(USE_UNION_TYPE) |
5497 test "$enable_pdump" = "yes" && AC_DEFINE(PDUMP) | 5501 test "$enable_pdump" = "yes" && AC_DEFINE(PDUMP) |
5803 echo " WARNING: ---------------------------------------------------------" | 5807 echo " WARNING: ---------------------------------------------------------" |
5804 echo " WARNING: XEmacs will run noticeably more slowly as a result." | 5808 echo " WARNING: XEmacs will run noticeably more slowly as a result." |
5805 echo " WARNING: Error checking is on by default for XEmacs beta releases." | 5809 echo " WARNING: Error checking is on by default for XEmacs beta releases." |
5806 echo " WARNING: ---------------------------------------------------------" | 5810 echo " WARNING: ---------------------------------------------------------" |
5807 fi | 5811 fi |
5812 test "$with_valgrind" = yes && echo " Compiling in support for memory debugging with Valgrind." | |
5808 echo "" | 5813 echo "" |
5809 ) | tee -a Installation | 5814 ) | tee -a Installation |
5810 dnl echo "The above configure report is appended to \"Installation\" file." | 5815 dnl echo "The above configure report is appended to \"Installation\" file." |
5811 echo "" | 5816 echo "" |
5812 | 5817 |