bug#7990: Quoting problem with AM_COND_IF

2011-02-05 Thread Stefano Lattarini
Hello Dennis. Thanks for the report, but what you're describing is indeed a user error, not an automake/autoconf bug. I'm thus closing this bug report as invalid. Details follow ... On Saturday 05 February 2011, Dennis Schridde wrote: > When I write configure.ac as quoted below and run: > aclo

bug#7990: Quoting problem with AM_COND_IF

2011-02-05 Thread Eric Blake
On 02/05/2011 12:26 PM, Dennis Schridde wrote: > AM_CONDITIONAL([CONDITION],[test -x /tmp]) > AS_IF([test -x /bin], > AM_COND_IF([CONDITION],, > AC_MSG_ERROR([comma separated, message]) > ) > ) The quoting problem is with you, not with AM_COND_IF. This should be written: AS_IF([t

bug#7990: Quoting problem with AM_COND_IF

2011-02-05 Thread Dennis Schridde
When I write configure.ac as quoted below and run: aclocal -I m4 autoconf automake the latter will respond with: "configure.ac:7: missing m4 quoting, macro depth 2" Changing the AS_IF line to: AS_IF([test -x /bin],[ fixes that. (Of course also insert the obvious ']') When I then run ./configu

bug#7988: the manual suggests installing macro files to hard-coded location

2011-02-05 Thread Peter Johansson
Hello, In the manual, http://sources.redhat.com/automake/automake.html#Invoking-aclocal, I read about the `--print-ac-dir' option: Prints the name of the directory that | |aclocal will search to find third-party .m4 files. When this option is given, normal processing is suppressed. This optio