Hi, On Fri, May 3, 2013 at 11:22 PM, Pino Toscano <toscano.p...@tiscali.it> wrote: > Hi, > > 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.
I almost agree with you, the $host_os is much better than $host. in hurd it just says gnu0.3. we needn't to check for linux which says linux-gnu -- Yue Lu (陆岳)