[PATCH libX11] Add AC_ARG_VAR for GROFF and PS2PDF

Yaakov (Cygwin/X) yselkowitz at users.sourceforge.net
Tue Oct 20 12:50:37 PDT 2009


On 20/10/2009 14:44, Dan Nicholson wrote:
> What I'm saying is that AC_PATH_PROGS already respects
> GROFF=/foo/groff in the environment. AC_ARG_VAR means you can also
> pass that on the command line to configure. Is that necessary or does
> the existing support in AC_PATH_PROGS work (please check)?

The autoconf manual[1] says:

"You are strongly encouraged to declare the variable passed to 
AC_CHECK_PROG etc. as precious, See Setting Output Variables, 
AC_ARG_VAR, for more details."

The other benefit is that the override shows up in configure --help.  So 
yes, I think this is necessary.


Yaakov
Cygwin/X

[1] 
http://www.gnu.org/software/autoconf/manual/autoconf.html#Generic-Programs


More information about the xorg-devel mailing list