mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
* configure.in configure (HPUX/OSF thread support): Enable this
only when running GCC, since HP's thread header files use ANSI C which is not supported by their default compiler.
This commit is contained in:
@ -177,9 +177,13 @@ if test ${build} = ${host} -a ${host} = ${target} ; then
|
||||
hpux*)
|
||||
AC_MSG_CHECKING(for HPUX/OSF thread support)
|
||||
if test -f /usr/include/dce/cma_config.h ; then
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(HAVE_HPUX_THREAD_SUPPORT)
|
||||
CONFIG_OBS="${CONFIG_OJS} hpux-thread.o"
|
||||
if test "$GCC" = "yes" ; then
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(HAVE_HPUX_THREAD_SUPPORT)
|
||||
CONFIG_OBS="${CONFIG_OJS} hpux-thread.o"
|
||||
else
|
||||
AC_MSG_RESULT(no (suppressed because you are not using GCC))
|
||||
fi
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
Reference in New Issue
Block a user