Follow-up Comment #2, bug #62775 (project groff):

In fact I'm not sure it's even necessary to have this macro depend on awk and
gs.

I think we could drop the AC_REQUIRES on Awk and GhostScript, and instead
restructure the test.

What we're using 'awk' and 'gs' to do is scrape a search path out of the
output of 'gs -h' (help).  However, even if the tools aren't available or if
by some weirdness, we're not sunk.  We _still_ populate the `_list_paths`
shell variable with a bunch of stuff.

Here they are.


      /usr/share/fonts/type1/gsfonts/
      /usr/share/fonts/default/Type1/
      /usr/share/fonts/default/Type1/adobestd35/
      /usr/share/fonts/type1/urw-base35/
      /opt/local/share/fonts/urw-fonts/
      /usr/local/share/fonts/ghostscript/


It's not inconceivable that one of these would in fact house the URW fonts
being sought.
 
So, the conditional should just gate the initial population of `_list_paths`,
not the whole check.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62775>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to