diff options
| author | 2007-05-30 05:11:30 +0000 | |
|---|---|---|
| committer | 2007-05-30 05:11:30 +0000 | |
| commit | c65a1c3ad8225b68165d0c751466dea1b9eccc4f (patch) | |
| tree | c3f3de95fa652ba886b50314703c894ad83c4df3 /configure.ac | |
| parent | add documentation about existence of RAW1394DEV (diff) | |
Apply patch from Jon Schewe <jon.schewe@honeywell.com> to make valgrind happy. Adds --with-valgrind configure option.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@172 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index fe23ca8..fe9ffcd 100644 --- a/configure.ac +++ b/configure.ac @@ -24,6 +24,11 @@ AC_SUBST(lt_major) AC_SUBST(lt_revision) AC_SUBST(lt_age) +dnl Check to see if valgrind is available +AC_ARG_WITH(valgrind, AC_HELP_STRING([--with-valgrind],[compile with valgrind support])) +if test x$with_valgrind = xyes ; then + AC_CHECK_HEADERS(valgrind/valgrind.h) +fi #CFLAGS=${CFLAGS:-"-Wall"} AC_OUTPUT([ |
