Hi Eric,

> What if we create and document the following macro names:
> 
> AC_COMMAND_IFELSE(command with args, if-true, if-false)
> AC_EVAL_IFELSE(variable, if-true, if-false)
> 
> where AC_EVAL_IFELSE([variable]) is shorthand for AC_COMMAND_IFELSE([eval
> "$variable"])?  Does that solve the immediate need?

Sounds good.

Should the arguments support double-quoting or only single-quoting? I.e. if
there is a macro LT_LINK_COMMAND which expands into a command with arguments
(possibly containing commas), should the user then write
  AC_COMMAND_IFELSE([LT_LINK_COMMAND], ..., ...)
or
  AC_COMMAND_IFELSE(LT_LINK_COMMAND, ..., ...)
?

And what do you plan to do regarding ac_link and ac_compile, which are
currently undocumented?

Bruno



_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to