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
signature.asc
Description: This is a digitally signed message part.