diff options
author | beber <beber> | 2005-12-07 10:56:46 +0000 |
---|---|---|
committer | beber <beber> | 2005-12-07 10:56:46 +0000 |
commit | 7e49d12be8dfbf1702e1439d070fbca67f67f990 (patch) | |
tree | 1a4a9b816df113e4b391db8f90db0a3c845286b5 | |
parent | this sumplier macro doesn't work (diff) | |
download | espik-7e49d12be8dfbf1702e1439d070fbca67f67f990.tar.xz |
don't use valgrind
-rw-r--r-- | config.h.in | 6 | ||||
-rw-r--r-- | configure.in | 27 |
2 files changed, 5 insertions, 28 deletions
diff --git a/config.h.in b/config.h.in index 66e5ed3..fae15a4 100644 --- a/config.h.in +++ b/config.h.in @@ -1,8 +1,5 @@ /* config.h.in. Generated from configure.in by autoheader. */ -/* Valgrind support */ -#undef HAVE_VALGRIND - /* Define to 1 if your compiler has __attribute__ */ #undef HAVE___ATTRIBUTE__ @@ -29,3 +26,6 @@ /* Version number of package */ #undef VERSION + +/* Define to empty if `const' does not conform to ANSI C. */ +#undef const diff --git a/configure.in b/configure.in index 83f8ce5..68eb45d 100644 --- a/configure.in +++ b/configure.in @@ -11,6 +11,8 @@ AM_CONFIG_HEADER(config.h) AC_PROG_CC AM_PROG_CC_STDC AC_HEADER_STDC +AC_C_CONST +# AM_PROG_LIBTOOL AC_C___ATTRIBUTE__ AC_ARG_WITH(ecore-config, @@ -27,31 +29,6 @@ ecore_libs=`$ECORE_CONFIG --libs` AC_SUBST(ecore_cflags) AC_SUBST(ecore_libs) -# Setting have_valgrind to "no" seems pointless, but we just need to -# put something in as the 4th parameter, so configure doesn't abort -# when valgrind.pc isn't found. -have_valgrind="no" -PKG_CHECK_MODULES(VALGRIND, valgrind >= 2.4.0, have_valgrind=yes, have_valgrind=no) -AC_ARG_ENABLE(valgrind, - [ --enable-valgrind enable valgrind support], [ - if test x"$enableval" = x"yes" ; then - AC_MSG_RESULT(yes) - have_valgrind="yes" - else - AC_MSG_RESULT(no) - have_valgrind="no" - VALGRIND_CFLAGS="" - VALGRIND_LIBS="" - fi - ], [ - have_valgrind=$have_valgrind - ] -) - -if test x$have_valgrind = "xyes"; then - AC_DEFINE(HAVE_VALGRIND, 1, [Valgrind support]) -fi - AC_OUTPUT([ Makefile src/Makefile]) |