bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] for mig check in GDB's configure


From: Pino Toscano
Subject: Re: [patch] for mig check in GDB's configure
Date: Fri, 3 May 2013 17:22:13 +0200
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

Hi,

Alle venerdì 3 maggio 2013, 陆岳 ha scritto:
> --- a/gdb/configure.ac
> +++ b/gdb/configure.ac
> @@ -488,6 +488,15 @@ AC_CHECK_TOOL(WINDRES, windres)
> 
>  # Needed for GNU/Hurd.
>  AC_CHECK_TOOL(MIG, mig)
> +case "${host}" in
> +       *-linux*|*-k*bsd-gnu*)
> +               ;;
> +       i[[3456789]]86-*-gnu*)
> +           if test "$MIG" = "" ; then
> +               AC_MSG_ERROR([no mig for use])
> +           fi
> +           ;;
> +esac

instead of the above, what about something like this:
  case "${host_os}" in
    gnu*)
      # Needed for GNU/Hurd.
      AC_CHECK_TOOL(MIG, mig)
      if test "$MIG" = "" ; then
        AC_MSG_ERROR([no mig for use])
      fi
    ;;
  esac

that is, look for mig as mandatory only on Hurd, using a less-ambiguous 
variable as $host_os.

-- 
Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]