aboutsummaryrefslogtreecommitdiff
path: root/gdbserver
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2020-10-31 08:31:00 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2020-10-31 08:31:00 -0400
commitb9442ec18bbaf5544111cc0bb98f2eb50e58942b (patch)
tree2fd95f9425a2b8aef9f9492e31eb0446b6e8aedf /gdbserver
parent15dabc52a1a2552e77432f920fd3f501f92bcf4f (diff)
downloadgdb-b9442ec18bbaf5544111cc0bb98f2eb50e58942b.zip
gdb-b9442ec18bbaf5544111cc0bb98f2eb50e58942b.tar.gz
gdb-b9442ec18bbaf5544111cc0bb98f2eb50e58942b.tar.bz2
gdbsupport: replace AC_TRY_COMPILE in common.m4
... 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: * common.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + AC_LANG_PROGRAM. * configure: Re-generate. Change-Id: Id58e6e887f6be817d52b189921845838031dbd2a
Diffstat (limited to 'gdbserver')
-rw-r--r--gdbserver/ChangeLog4
-rwxr-xr-xgdbserver/configure11
2 files changed, 11 insertions, 4 deletions
diff --git a/gdbserver/ChangeLog b/gdbserver/ChangeLog
index 5da03da..505ad8e 100644
--- a/gdbserver/ChangeLog
+++ b/gdbserver/ChangeLog
@@ -12,6 +12,10 @@
2020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
+ * configure: Re-generate.
+
+2020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
+
* configure.ac: Modernize.
* configure: Re-generate.
diff --git a/gdbserver/configure b/gdbserver/configure
index 39ec491..bd48d67 100755
--- a/gdbserver/configure
+++ b/gdbserver/configure
@@ -8029,13 +8029,14 @@ if ${gdb_cv_func_sigsetjmp+:} false; then :
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-
- #include <setjmp.h>
-
+#include <setjmp.h>
int
main ()
{
-sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
+sigjmp_buf env;
+ while (! sigsetjmp (env, 1))
+ siglongjmp (env, 1);
+
;
return 0;
}
@@ -8044,8 +8045,10 @@ if ac_fn_c_try_compile "$LINENO"; then :
gdb_cv_func_sigsetjmp=yes
else
gdb_cv_func_sigsetjmp=no
+
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_func_sigsetjmp" >&5
$as_echo "$gdb_cv_func_sigsetjmp" >&6; }