1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Upgrade gperftools to 2.9 for GCP/GMC/GMP/GMD. (#2247)

This commit is contained in:
winlin 2021-12-12 15:38:30 +08:00
parent 63da0dca92
commit 44e9dc83e9
346 changed files with 169666 additions and 78 deletions

View file

@ -0,0 +1,19 @@
# We need to be careful to avoid having the reference to
# program_invocation_name optimized out. We do that by
# returning the value.
AC_DEFUN([AC_PROGRAM_INVOCATION_NAME],
[AC_CACHE_CHECK(
for program_invocation_name,
ac_cv_have_program_invocation_name,
AC_TRY_LINK([extern char* program_invocation_name;],
[return *program_invocation_name;],
[ac_cv_have_program_invocation_name=yes],
[ac_cv_have_program_invocation_name=no])
)
if test "$ac_cv_have_program_invocation_name" = "yes"; then
AC_DEFINE(HAVE_PROGRAM_INVOCATION_NAME, 1,
[define if libc has program_invocation_name])
fi
])