forked from Imagelibrary/binutils-gdb
gdbserver: replace AC_TRY_COMPILE in acinclude.m4
... with AC_COMPILE_IFELSE and AC_LANG_PROGRAM. All changes in the generated configure file are insignificant whitespace changes. gdbserver/ChangeLog: * acinclude.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + AC_LANG_PROGRAM. * configure: Re-generate. Change-Id: Idab8b5e1a984046b5283940c02e5a22da2291d58
This commit is contained in:
20
gdbserver/configure
vendored
20
gdbserver/configure
vendored
@@ -10386,12 +10386,11 @@ fi
|
||||
if test "$bfd_cv_have_sys_procfs_type_lwpid_t" != yes; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpid_t in thread_db.h" >&5
|
||||
$as_echo_n "checking for lwpid_t in thread_db.h... " >&6; }
|
||||
if ${gdbserver_cv_have_thread_db_type_lwpid_t+:} false; then :
|
||||
if ${gdbserver_cv_have_thread_db_type_lwpid_t+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include <thread_db.h>
|
||||
int
|
||||
main ()
|
||||
@@ -10408,14 +10407,15 @@ else
|
||||
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
|
||||
fi
|
||||
|
||||
if test $gdbserver_cv_have_thread_db_type_lwpid_t = yes; then
|
||||
if test $gdbserver_cv_have_thread_db_type_lwpid_t = yes; then
|
||||
|
||||
$as_echo "#define HAVE_LWPID_T 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbserver_cv_have_thread_db_type_lwpid_t" >&5
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbserver_cv_have_thread_db_type_lwpid_t" >&5
|
||||
$as_echo "$gdbserver_cv_have_thread_db_type_lwpid_t" >&6; }
|
||||
|
||||
fi
|
||||
@@ -10423,12 +10423,11 @@ fi
|
||||
if test "$bfd_cv_have_sys_procfs_type_psaddr_t" != yes; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for psaddr_t in thread_db.h" >&5
|
||||
$as_echo_n "checking for psaddr_t in thread_db.h... " >&6; }
|
||||
if ${gdbserver_cv_have_thread_db_type_psaddr_t+:} false; then :
|
||||
if ${gdbserver_cv_have_thread_db_type_psaddr_t+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include <thread_db.h>
|
||||
int
|
||||
main ()
|
||||
@@ -10445,14 +10444,15 @@ else
|
||||
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
|
||||
fi
|
||||
|
||||
if test $gdbserver_cv_have_thread_db_type_psaddr_t = yes; then
|
||||
if test $gdbserver_cv_have_thread_db_type_psaddr_t = yes; then
|
||||
|
||||
$as_echo "#define HAVE_PSADDR_T 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbserver_cv_have_thread_db_type_psaddr_t" >&5
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbserver_cv_have_thread_db_type_psaddr_t" >&5
|
||||
$as_echo "$gdbserver_cv_have_thread_db_type_psaddr_t" >&6; }
|
||||
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user