Re: use of AC_TRY_EVAL broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux