From 5164c11714c92ba7690d4f93de6be6a90f460220 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Sat, 31 Oct 2020 08:30:59 -0400 Subject: gdbsupport: replace AC_TRY_COMPILE in ptrace.m4 Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + AC_LANG_PROGRAM. All the changes in the generated configure files are insignificant whitespace changes. gdb/ChangeLog: * configure: Re-generate. gdbserver/ChangeLog: * configure: Re-generate. gdbsupport/ChangeLog: * configure: Re-generate. * ptrace.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + AC_LANG_PROGRAM. Change-Id: Ia782b5477fe49dad04e68c0f41c6d8ab3fde5bf0 --- gdb/configure | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gdb/configure') diff --git a/gdb/configure b/gdb/configure index 4816b98..65904ba 100755 --- a/gdb/configure +++ b/gdb/configure @@ -15166,11 +15166,12 @@ if ${gdb_cv_func_ptrace_ret+:} false; then : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -$gdb_ptrace_headers + $gdb_ptrace_headers int main () { extern long ptrace (enum __ptrace_request, ...); + ; return 0; } @@ -15185,6 +15186,7 @@ int main () { extern int ptrace (); + ; return 0; } @@ -15223,6 +15225,7 @@ int main () { extern long ptrace (enum __ptrace_request, ...); + ; return 0; } @@ -15241,6 +15244,7 @@ int main () { extern $gdb_cv_func_ptrace_ret ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4); + ; return 0; } @@ -15260,6 +15264,7 @@ int main () { extern $gdb_cv_func_ptrace_ret ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5); + ; return 0; } -- cgit v1.1