1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-07 00:36:00 +02:00

Moving BeefMem

This commit is contained in:
Brian Fiete 2019-09-04 11:41:56 -07:00
parent b3487d733b
commit 65bf1915af
337 changed files with 0 additions and 4 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
])