This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Try to include libunwind-ia64.h in libunwind-frame.h


On 02/10/2012 06:27 PM, Jan Kratochvil wrote:
> +++ b/gdb/configure.ac
> @@ -349,8 +349,14 @@ AS_HELP_STRING([--with-libunwind], [use libunwind frame unwinding support]),
>    *)    AC_MSG_ERROR(bad value ${withval} for GDB with-libunwind option) ;;
>  esac],[
>    AC_CHECK_HEADERS(libunwind.h libunwind-ia64.h)
> -  if test x"$ac_cv_header_libunwind_h" = xyes -a x"$ac_cv_header_libunwind_ia64_h" = xyes; then
> +  if test x"$ac_cv_header_libunwind_h" = xyes; then
>      enable_libunwind=yes;
> +  elif test x"$ac_cv_header_libunwind_ia64_h" = xyes; then
> +    case "$target" in
> +      ia64*)
> +	enable_libunwind=yes;
> +	;;
> +    esac
>    fi
>  ])
>     

What about --enable-targets=all, or --target=x86_64-foo --enable-target=ia64-xxx ?

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]