printf "%s\n" "#define HAVE_UTMPX_H 1" >>confdefs.h
fi
-ac_fn_c_check_header_compile "$LINENO" "valgrind.h" "ac_cv_header_valgrind_h" "$ac_includes_default"
-if test "x$ac_cv_header_valgrind_h" = xyes
+ac_fn_c_check_header_compile "$LINENO" "valgind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
+if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
then :
- printf "%s\n" "#define HAVE_VALGRIND_H 1" >>confdefs.h
+ printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
fi
utime.h \
utmp.h \
utmpx.h \
- valgrind.h
+ valgrind/valgrind.h
)
dnl #
/* Define to 1 if you have the <utmp.h> header file. */
#undef HAVE_UTMP_H
-/* Define to 1 if you have the <valgrind.h> header file. */
-#undef HAVE_VALGRIND_H
+/* Define to 1 if you have the <valgrind/valgrind.h> header file. */
+#undef HAVE_VALGRIND_VALGRIND_H
/* Define to 1 if you have the 'vdprintf' function. */
#undef HAVE_VDPRINTF
# include <gperftools/profiler.h>
#endif
-#ifdef HAVE_VALGRIND_H
-# include <valgrind.h>
+#ifdef HAVE_VALGRIND_VALGRIND_H
+# include <valgrind/valgrind.h>
#endif
/** Check if the application linking to the library has the correct magic number
#include <freeradius-devel/util/syserror.h>
-#ifdef HAVE_VALGRIND_H
-# include <valgrind.h>
+#ifdef HAVE_VALGRIND_VALGRIND_H
+# include <valgrind/valgrind.h>
#else
# define RUNNING_ON_VALGRIND 0
#endif