]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
update valgrind.h path to <valgrind/valgrind.h>
authorMarc-Andre Casavant <marc.casavant@inkbridge.io>
Fri, 1 May 2026 17:48:04 +0000 (13:48 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 5 May 2026 01:20:14 +0000 (21:20 -0400)
configure
configure.ac
src/include/autoconf.h.in
src/lib/server/dependency.c
src/lib/util/dl.c

index 91f6ae81c211b0fd618eceecb396be5ef4248577..a091d39a2df44c613d47c14949b1c2359c37aabe 100755 (executable)
--- a/configure
+++ b/configure
@@ -8323,10 +8323,10 @@ then :
   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
 
index d5cb779cec557a26ec3da706664bf58c15227e7e..8b9087a805439bb705ce849da4eaf7d162b8238b 100644 (file)
@@ -1061,7 +1061,7 @@ AC_CHECK_HEADERS( \
   utime.h \
   utmp.h \
   utmpx.h \
-  valgrind.h
+  valgrind/valgrind.h
 )
 
 dnl #
index f78c2ca3f2be65f96321017cf52e3d77d487c45f..54c0462e809e7b111d13f8cae1c5308333b78515 100644 (file)
 /* 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
index f7d4a46a6e536b1016060e81ad72f1df251411c5..be80e598200a07c3f9ee37b73efbb8a48b0a2f35 100644 (file)
@@ -54,8 +54,8 @@ static CONF_SECTION *default_version_cs;              //!< Default configuration section to
 #  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
index f357a9be29d2ea30c74d951fc6eb25d341367bb3..d028e2f58c12fac19bd80a02e4651327485d834e 100644 (file)
@@ -34,8 +34,8 @@ RCSID("$Id$")
 #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