autoconf-patches
[Top][All Lists]
Advanced

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

Make AC_INCLUDES_DEFAULT expand its argument (shell functions 5/n)


From: Paolo Bonzini
Subject: Make AC_INCLUDES_DEFAULT expand its argument (shell functions 5/n)
Date: Mon, 5 May 2003 00:37:53 +0200

This is quite controversial.  I need to have AC_INCLUDES_DEFAULT expand its
argument to determine whether it is empty or not, but m4_quote is not
sufficient because it would have to add a new-line just like the
IF-NOT-EMPTY part of the m4_ifval invocation.

I am relying on m4_changecom, but I am not sure of its effects and would
rather have someone more expert think of a better way.

The need for this arises from this idiom in the shell functions patch,
needed to pass to the shell function the INCLUDES argument:
"AC_INCLUDES_DEFAULT([AS_ESCAPE([$4], ["])])"

Paolo

2003-05-05  Paolo Bonzini  <address@hidden>

        * lib/autoconf/headers.m4 (AC_HEADERS_DEFAULT):
        Expand $1 before judging if it is empty or not.

Attachment: ac-includes-default.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]